JSFiddle - React, Tailwind, and code Playground

HTML

<button id="theButton">ClickMe</button>
<div id="theDiv" style="display:none;"><p>So text</p></div>

JavaScript

$("#theButton").click(function(){
    $("#theButton").hide();
    $("#theDiv").show();
})