JSFiddle - React, Tailwind, and code Playground
by rafalry
HTML
<div id="console"></div>
JavaScript
$(document).keypress(function(e){
$('#console').text( e.which + ' ' + String.fromCharCode(e.which));
});
by rafalry
<div id="console"></div>
$(document).keypress(function(e){
$('#console').text( e.which + ' ' + String.fromCharCode(e.which));
});