JSFiddle - React, Tailwind, and code Playground

HTML

<body>
    <h1>HELP!!!!</h1>
</body>

JavaScript

//Open the console, click on help and type any key 

$('body').keypress(function(event){
  	var letter = (String.fromCharCode(event.which)); 
 
    if(event.keyCode == 32){console.log('SPACE BAR')};
    if(event.keyCode == 46){console.log('Delete Key Pressed')};

	console.log(event);	
	console.log(event.keyCode);	


 })