Lesson 33: The Script and Its Effect



The Script

<SCRIPT LANGUAGE="javascript">
var num = Math.round(35 * Math.random());
document.write("Random number between 1 and 35: <B>" + num + "</B>.")
</SCRIPT>

The Script's Effect

 

 

Back to the Index Page