Make your own free website on Tripod.com
 
Home
ActionScript
Blog

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<script>
//lowTemp
//Catherine Casuat 10-1-07
// Demonstrates the basic if statement

var temp = 0;
var perfectTemp = 65;

temp = Math.floor(Math.random() * 100) + 1;
alert("It's " + temp + " degrees outside. ");

if (temp < perfectTemp){
alert("Wear a sweater!!");
} //end if

</script>