JSFiddle - React, Tailwind, and code Playground

by matt9388

HTML

<input>

JavaScript

$(function()
{
    $("input").keydown(function(event){ 
        alert("Congrats you pressed a button!");
    });
});