<html>
<head>
<title>Greetings</title?
<head>
<body>
<script>
//Chao Li. October 4, 2007.
var userName = "";
var programmerName = "";
var rightAnswer = "Chao";
userName = prompt ("What is your name?!");
alert ("Well hi " +userName+ ".");
programmerName = prompt ("What is my name then?");
if (programmerName == rightAnswer)
{
alert ("Good job! And a nice day.");
}
else
{
alert ("aw~~ Thats too bad");
}
</script>
</body>
</html>