JSFiddle - React, Tailwind, and code Playground

by Neal

HTML

<script type="text/javascript">
function ChangeText(){
     document.getElementById("p1").innerHTML="New text!";
}
</script>

<p id="p1">Hello world!</p>
<input type="button" onclick="ChangeText()" value="Change text" />