JSFiddle - React, Tailwind, and code Playground

by firegroove

JavaScript

document.body.onkeydown = function(e){
    alert(String.fromCharCode(e.keyCode)+" --> "+e.keyCode);
};