JSFiddle - React, Tailwind, and code Playground

by Felix Fong

HTML

<h1>Press key on your keyboard now</h1>

JavaScript

$(document).on('keydown',function(){
$('h1').html('Ya you just press key,and that key is:');
});