Skip to content

Quickly Get JavaScript Event Keycode

View on Twitter

💡 I always find myself googling keycodes when I need to work with them in #JavaScript.

📚 I've now bookmarked https://www.toptal.com/developers/keycode by @wesbos to get my answer a little bit quicker. Because who has time to memorise arbitrary mappings. 🙅🏻‍♀️

Frontpage of keycode.info showing keycode and event name as you type a key.
You might also like
Top-Level await in Node.js Read tip
setTimeout Execution Time Read tip
Practice Algorithms and Data Structures in JavaScript Read tip