JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
</head>
<body>
<input type="text" name="company" id="company" required />
<br />
Result: <div id="result"></div>
</body>
</html>
JavaScript
$(document).ready(function(){
var input = $('#company').val();
$('#company').on('change : focus : keypress', function() {
$('#result').html(this.value);
});
});