+ 2

How onmousedown works ?

I tried "onmousedown" but it doesn't work, what to do to make the square moves just like if "onmousedown" event is used. https://code.sololearn.com/WsUbjdeX5R7F/?ref=app

5th Feb 2022, 7:33 PM
Mohammed
1 Odpowiedź
+ 1
Mouse down works if a user presses a on a particular element.
7th Feb 2022, 4:11 AM
Atharv127
Atharv127 - avatar