Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>very molti numeri</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- </head>
- <body>
- <p id=schnee> </p>
- <button onclick="molto()">Random</button>
- <script>
- function molto(){
- document.getElementById("schnee").innerHTML = Math.floor(Math.random() * 46)+1;
- };
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement