JSFiddle - React, Tailwind, and code Playground

HTML

<p id="para">
FIRST SECOND FOURTH
</p>

JavaScript

$('#para').append('THIRD');