JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
	<body id="body">
		<form id="form1">
			<input type="text" id="input1">
		</form>
	</body>

JavaScript

$(document).ready(function(){
  $("input").keydown(function(event){
    console.log("keydown");
  });
});