Hacker News new | ask | show | jobs
An example demonstrating keyboard and mouse input in JavaScript (js-input-event.pages.dev)
1 points by greentec 268 days ago
1 comments

Hello.

I teach students at a university. Recently, in my JavaScript class, I wanted to explain mouse and keyboard input in a visual way, but I couldn't find a suitable example.

So I created one myself, and I'm sharing it here in case it might be helpful to you as well.

Please test it out and let me know if you have any feedback.

Thank you.