JSFiddle - React, Tailwind, and code Playground

by HaJIuBauKa

HTML

<input type="text" id="textinput" value="">

JavaScript

$("#textinput").keydown(function(e) {
        alert(e.keyCode);
});