0
Random image number
Trying to write some JavaScript that displays a single image a random number of times between 1 and 15 inclusive each time the browser refreshes. I can create the random function no worries: math.floor(math.random() *15) +1; But referencing it to a document.getElementById. I’m struggling with. Any advice??
1 Antwort
+ 3
Sure anyone can help if you would share your code link