JSFiddle - React, Tailwind, and code Playground
HTML
<div id="main">
<p id="paragraphOne">This is the First paragraph.</p>
<p id="paragraphTwo">This is the Second paragraph.</p>
</div>
<script>
$("#main").append("<p id='paragraphThree'>This is the Third paragraph.</p>");
</script>