mousemove events
Hi everyone
I'm a beginner with javascript I 'm learning mousemove events
I have this code
my JS:
I suppose to have in the console the message pat66 but I have nothing
can I get some idea about what is going wrong ?
thanks by advance.
4 Replies
you've misspelled the event name, it's mousemove nto mousemouse
thanks 😋 feeling stupid
I would suggest using pointermove. this will also catch touch devices
ref: https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events
thanks