You can learn more about JavaScript from different online websites.
<head>
<title> Voting! </title>
<script type="text/javascript">
var age = parseInt(prompt("Please enter your age"), 10);
if (age < 18) {
document.write("You are too young to vote!");
} else if (age >= 18) {
alert("You...
hi this is bset way to write HTML for image not found
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h2>
Example to hide the 'Image Not Found' icon i.e.
<img src="error.png" width="20px" />
</h2>
<img id="HideImg"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.