JSFiddle - React, Tailwind, and code Playground
by Yvonne Yu
HTML
<div>
<label>Name:</label>
<input id="inputText" type="text" placeholder="Enter a name here">
<hr>
<h1>
Hello <span id="yourname"</span>
</h1>
</div>
JavaScript
jQuery('#inputText').change(function (){
console.log("this", this);
var value = this.getValue();
jQuery('#yourname').value();
})