JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<div class="wrapper">
<p>Test</p>
<p>Another Test</p>
<p>A third test</p>
<p>Test</p>
<p>Another Test</p>
<p>A third test</p>
</div>
</div>
JavaScript
$('.wrapper p').eq(1).after('<div class="testing"><p>Testing 2</p></div>');