Javascript can be used to create "custom-made" Web pages. Click here for the next example.

Here is the source code:


<html> 
<head> 
</head>
<body> 
<script type="text/javascript" language="javascript"> 

	alert("Hello. Thanks for looking at my page.");
	yourname = prompt("Enter your first name.");
	document.write("Now I know your name is " + yourname );

</script> 
</body> 
</html> 

The first two lines you're familiar with already. The new thing here is that the script is using the input to write on the Web page itself, rather than responding to the user through an "alert" box.