JSFiddle - React, Tailwind, and code Playground

by JM note

HTML

<input type='text' id='input1'/>
 
<script>
var input1 = document.getElementById('input1');
input1.onkeydown = function(event) {
    alert( '키코드: ' + event.keyCode );
}
</script>