JSFiddle - React, Tailwind, and code Playground

HTML

<div id="content">
    <input type="button" value="Please Work" onclick="pleaseWork()">
</div>

JavaScript

function pleaseWork(){
    $('#content').html('<h3 style="color:#335c91">This is the header</h3><div class="holder"><script type="text/javascript">alert("The script is running");<\/script></div>');
}