~Chao Li~

~Kumo no Mukou, Yakusoku no Basho~

 
~~~~

<html>
<head>
<title>Project 4</title>
</head>

<body>
<script>
//Chao Li. October 4, 2007.

var roll = 0;
var message = " ";

roll = Math.floor(Math.random() * 5) + 1;

switch(roll)

{
case 1:
message = "Welcome.";
break;

case 2:
message = "Good Day.";
break;

case 3:
message = "Do your best today.";
break;

case 4:
message = "Today is going to be a find day.";
break;

case 5:
message = "Welcome back.";
break;

default:
fortune = "ERROR";
}

alert(message);

</script>
</body>
</html>

 
 
 
~~~~