Make your own free website on Tripod.com
SWAT My Welcome Of Doom to you!!!
  Javascript Actionscript Blog
  <script>
//Joke Teller
//David Fang, 10/07
//Demonstrates the while loop
var correct = "to get to the other side";
var guess = "";
while(guess != correct) {
guess = prompt("Why did the chicken cross the road?", "");
if(guess == correct) {
alert("pretty funny, huh?");
} else {
alert("that's not it...");
} // end if
} // end while
</script>

Links

1. SLHS

2. SLHSXC

3. JMMS

Contact me

Class links

Computer Science

Five Classmates

1. Julio Maravilla

2. Norman Duong

3. Huy Vo

4. Titus Green

5. Jack Li

 
 
 
 
 
 
 
 
Home Product Contact order