Javascript examples for Math:Quiz
Use the random() method to display a random number.
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = Math.random(); </script>// w w w . ja va2s . c om </body> </html>