JSFiddle - React, Tailwind, and code Playground
by rvaldez
HTML
<p id="do"> </p>
<input type='text' id='input'/>
<input type='button' onclick='addText()' value='Add To List'/>
JavaScript
function addText(){
var node=document.createElement("div");
var textnode=document.createTextNode("Content here...");
node.appendChild(node);
document.getElementById('do').appendChild(node);
}