Make your own free website on Tripod.com

~Chao Li~

~Kumo no Mukou, Yakusoku no Basho~

 
~~~~

<html>
<head>
<title>Project 6</title>
</head>

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

var number = "";
var greetings = "";

greetings = prompt ("Pick a number between 1 to 100. This will be the number of sides of your dice.");

number = Math.floor(Math.random() * greetings) + 1;

alert ("And the number you roll is " +number+".");

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

 
 
 
~~~~