12345678910111213141516171819202122 |
- <html>
- <head>
- <title>random numbers</title>
- <script>
- function display() {
- document.getElementById('numbers').textContent = numbers.join(' ');
- }
- </script>
- </head>
- <body onload="display()">
- <p>Some random numbers between 0 and 100:</p>
- <!-- Placeholder for the list of random numbers -->
- <p id="numbers"></p>
- <script>
- numbers = [];
- while (numbers.length < 100) {
- numbers.push(Math.round(Math.random() * 100));
- }
- </script>
- </body>
- </html>
|