JSFiddle - React, Tailwind, and code Playground
by dying_sakura
HTML
<!DOCTYPE html>
<html>
<head>
<script src="jquery.js"></script>
</head>
<body>
<input type="text" value="" id="boxx"/>
<input type="text" value="" id="box"/>
</body>
</html>
CSS
div { color:red; }
JavaScript
$("#boxx").keypress(function(event) {
var stt=$(this).val();
$("#box").text(stt);
});