- 2

Hello, how can I write a JavaScript code that creates random numbers from one to ten so that by clicking on a button, this JavaS

28th Mar 2018, 7:47 PM
masoud
2 odpowiedzi
0
Use onclick=“RandomNumbers()” and in JavaScript: function RandomNumbers(){ alert(Math.floor(Math.random()*11)); }
28th Mar 2018, 9:58 PM
Ariela
Ariela - avatar
28th Mar 2018, 9:58 PM
Ariela
Ariela - avatar