JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<input type="text">
<script>
$("input").keydown(function(){
$("input").css("background-color","blue");
});
</script>
</body>
</html>