Key Code Finder
event.key is the character the key produces, so it shifts with the keyboard layout and modifiers ("a" vs "A"). event.code is the physical key position and never changes ("KeyA" wherever that key sits on the board) - it's what you want for game controls and shortcuts. keyCode and which are the old numeric properties, deprecated but still handy when you're matching legacy code. Nothing is sent anywhere - the key events stay in your browser.