+ 5
How to add elements in HTML at random positions without overlapping
How can i add an image to HTML multiple times at random positions without overlapping, using JavaScript ? I have an image of size 128x160. I tried using array to record previous indexes of image, but it didn't work for me.
4 Respuestas
+ 1
Calviղ Thanks for this perfect solution !
+ 1
same