JSFiddle - React, Tailwind, and code Playground

by Tenderfeel

HTML

<form><input type="search" id="text" name="search"></form>

JavaScript

$('text').addEvent('keydown', function(e){
alert(e.code);
});