---
title: "Discussion on \"A playground for JavaScript Keyboard events and the code list\" | Hashnode"
description: "Discussion on \"A playground for JavaScript Keyboard events and the code list\". 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 ..."
url: "https://hashnode.com/posts/a-playground-for-javascript-keyboard-events-and-the-code-list/6013b9a37708c14414aabd9b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A playground for JavaScript Keyboard events and the code list](https://blog.greenroots.info/a-playground-for-javascript-keyboard-events-and-the-code-list?utm_source=hashnode&utm_medium=feed)

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 ...

Jan 29, 2021 · 4 min read · blog.greenroots.info  
Updated Feb 25, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#vercelhashnode](https://hashnode.com/tag/vercelhashnode)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#tools](https://hashnode.com/tag/tools)

## Written by

[Tapas Adhikary](https://hashnode.com/@atapas)

@atapas · Bangalore

  
[View profile](https://hashnode.com/@atapas)

Educator @tapaScript | Founder CreoWis & ReactPlay - Writer - YouTuber - Open Source

Co-Founder, @CreoWis | Teacher, @tapaScript | Founder, @ReactPlay | YouTuber | Writer | Human

## Responses 2

Markdown supported · ⌘↵ to post

[Geeky Chakri](https://hashnode.com/@GeekyChakri)

[Jan 29, 2021](https://hashnode.com/posts/a-playground-for-javascript-keyboard-events-and-the-code-list/6013b9a37708c14414aabd9b/comment/6013e819e54673573b56ffc1)

This will be a handy tool for developers 👍

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jan 29, 2021](https://hashnode.com/posts/a-playground-for-javascript-keyboard-events-and-the-code-list/6013b9a37708c14414aabd9b/comment/6013e819e54673573b56ffc1#reply-60142f0e13f0a55761bdc91b)

Thank you 😍

[Rutik Wankhade](https://hashnode.com/@rutikwankhade)

[Jan 29, 2021](https://hashnode.com/posts/a-playground-for-javascript-keyboard-events-and-the-code-list/6013b9a37708c14414aabd9b/comment/6013c764fee50e44489b0a7c)

Your projects are always interesting to check out. ⭐ Starred on GitHub. I Will definitely look into it and try to contribute.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jan 29, 2021](https://hashnode.com/posts/a-playground-for-javascript-keyboard-events-and-the-code-list/6013b9a37708c14414aabd9b/comment/6013c764fee50e44489b0a7c#reply-6013cb43fee50e44489b0b79)

Thanks, that would be just awesome!
