Hello

Welcome to my page!

Javascript

 
Links

Joke Teller

 

<script>
//Joke Teller
//Julio Maravilla
//October 10, 2007

var correct= "TO GET TO THE OTHER SIDE";
var guess;

while(guess!= correct)
{
guess=prompt("Why did the Chicken cross the road?", "");
guess=guess.toUpperCase();
if (guess==correct)
{
alert("Pretty funny, huh?");
}
else
{
alert("Thats not it...");
}
}

</script>

 

 

Links

Contact me

Favorite links

Computer Science

Five Classmates