JSFiddle - React, Tailwind, and code Playground
by JM note
HTML
<script src="//code.jquery.com/jquery.min.js"></script>
<div class='container'>
<p>한놈</p>
<p>두시기</p>
<p>석삼</p>
</div>
<script>
$('.container p:nth-child(2)').replaceWith('<p>너구리</p>');
</script>