JSFiddle - React, Tailwind, and code Playground

by karthick Chandran

HTML

<div id="mydiv">
    <div id="two">some text</div>
</div>

JavaScript

$("#mydiv").empty();
$("#two").text("sssss text");
$("#mydiv").text("another text");