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 😁 Walt 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 4354 devs read thisAlright, so you just spun up a new Vite project and you're staring at a mostly empty directory with a `main.ts` or `main.jsx` file and that ...Why I Finally Decided to Upgrade To GitHub Copilot Pro 4977 devs read thisIf you had asked me a year whether I thought that AI generated code was decent enough for production, I would have probably said no. The hal...10 gadgets every programmer should carry 10709 devs read thisIf you're a programmer then there's a good chance that you have a desk full of random gadgets lying around. Maybe a few flash drives, an old...How to Actually Write Code on Your Tablet 1304 devs read thisFor the past several years, I've had the Galaxy Tab S7 open on my desk almost 24/7. It's a solid little device that can pretty much do anyth...Playdate Console Review (2025): A Platform for Creative Development 1193 devs read thisIn a world of high-powered gaming consoles and photorealistic graphics, the [Playdate by Panic](https://play.date/) is a breath of fresh air...The Best Way to Check for an Empty String in JavaScript 4873 devs read this A student recently asked me what the best way to check for an empty string in JavaScript was. I answered in the best way that I knew how an...How to Code The Snake Game Using JavaScript - Full Tutorial 5094 devs read thisWe've all seen the infamous snake game. It was a staple of non-smartphones back in the day. In this post, we'll be building something similar...... 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 "Heavy scripts slowing down your site? I use Fathom Analytics because it’s lightweight, fast, and doesn’t invade my users privacy." Get $10 OFF your first invoice. Ad Unit Current Poll Help us and the community figure out what the latest trends in coding are. Total Votes: Q: Submit v2025.1.0 Release The Ultimate Developer 🎁 Gift Guide >_ View the Guide Maybe later Naw, not interested