JSFiddle - React, Tailwind, and code Playground

by raam86

JavaScript

$(document).on("keydown", function(event) {
console.log(event);
    if(event.keyCode.match(/[48-58]/){
       console.log(event);
}
     
});