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.](/images/tips/get-javascript-event-keycode.jpg)