A playground for JavaScript Keyboard events and the code list
Posted on January 29, 2021
When a user interacts with a physical keyboard, we can capture the activity using the JavaScript KeyboardEvent interface. It has the required properties, methods to let us know what key user would have pressed, its code, a unique modifier, etc. As a ...