JSFiddle - React, Tailwind, and code Playground

by Andy Hewitt

HTML

Type in here -> <input></input>

JavaScript

$(function(){
    $("input").keydown(function(e){
        alert(e.which);
    });
});