logo
Ryan's Webpage
 
><html>
<body>
<script>
// by Ryan Te
// 10/3/07

var userName = "";
var rightAnswer = "ryan";

userName = prompt("Who is the best programmer?");
if(userName == rightAnswer)
{
alert("Right answer,your a fine programmer");
}
else if(userName == "Peter")
{
alert("Nope wrong");
}
else
{
alert("Sorry, but Ryan is the best programmer");
}
alert("Thank you");

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

 

 

Contact Me

 

Mr. Styner's Webpage

 

Peter

Julie

Nick

Tiddus

Norman