JSFiddle - React, Tailwind, and code Playground HTML <div id="div"></div> JavaScript $("#div").append("<div id='c'></div>") alert($("#c").length);