I switched this site’s analytics to Fathom Analytics to protect your privacy → Get $10 OFF your first invoice. JavaScript Keyboard Codes View table Type any key S Keycode: 83 event.keyCode * This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes event.location The KeyboardEvent.location read-only property returns an unsigned long representing the location of the key on the keyboard or other input device. If you found this article helpful or useful in any way, consider buying me a cup of coffee 😁 Walter Guevara is a Computer Scientist, software engineer, startup founder and previous mentor for a coding bootcamp. He has been creating software for the past 20 years. Last updated on: January 22 2023 10 Comments Community Comments No comments posted yet Add comment Popular Guides See what other developers are reading. Creating a Good Folder Structure For Your Vite App 639 devs read thisWhy I Finally Decided to Upgrade To GitHub Copilot Pro 1980 devs read thisThe many ways to sanitize user input in C# 2824 devs read thisA Simple Next.js API Folder Structure 5913 devs read thisImplementing Argon2id Password Hashing in C# 736 devs read thisWhat is the state of ASP.NET Web Forms in 2025? 1010 devs read thisCoding A Card Deck In JavaScript 70677 devs read this Code Your Own Classic Snake Game – The Right Way Master the fundamentals of game development and JavaScript with a step-by-step guide that skips the fluff and gets straight to the real code. Download Now Ad Unit Subscribe & Stay Up To Date With All Things Programming Register for my free weekly newsletter. Sign up No SPAM. Unsub any time. Current Poll Help us and the community figure out what the latest trends in coding are. Total Votes: Q: Submit Hello there 👋 I just finished launching my yearly Developer Gift Guide full of my top picks for developer gift ideas. And it isn't just flash drives and mousepads this time around. There are some really cool items that I've found that you've probably never heard of. View It Now View It Later (New Tab)