<html>
<body>
<script>
//by Ryan Te
//10/2/07
var userName = "";
var rightAnswer = "ryan";
userName = prompt("Who is the coolest person ever?");
if(userName == rightAnswer)
{
alert("A+ for you!!!");
}
else if(userName == "Styner")
{
alert("Nope!!!");
}
else
{
alert("Sorry, but Ryan is the coolest");
}
alert("Thanks for playing");
</script>
</body>
</html>