Make your own free website on Tripod.com
SWAT My Welcome Of Doom to you!!!
  Javascript Actionscript Blog
 

<script>
//Spinthebottlegame
//plays around with girls
//uses string methods
var firstname="";
var lastname="";
var numletters=0;
firstname=prompt("Hi, whats your first name?", "");
alert("thats a nice name, " + firstname );
alert("i think ill shout it: " + firstname.toUpperCase());
lastname=prompt("So what's your last name, "+ firstname +"?");
alert("Oh, " + firstname +"" + lastname + ".");
alert("sometimes called " + lastname + ", " + firstname);
numletters= firstname.length + lastname.length;
alert("Did you know there are " + numletters + " letters in your name?");
</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

Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Miscellaneous
 
Home Product Contact order