JSFiddle - React, Tailwind, and code Playground
by Ron Eaglin
HTML
Text Box <input type="textbox" id="aTextbox"/>
<input type="button" id="aButton" value="Click here" onclick="aFunction()"/>
<div id="stuffGoesHere">
</div>
JavaScript
function aFunction(){
var theText = document.getElementById("aTextbox").value;
document.getElementById("stuffGoesHere").innerHTML = theText;
}