JSFiddle - React, Tailwind, and code Playground
HTML
<button id="button-1" style="height: 50px; width: 50px; background: red;">Click Me!</button>
<div id="div-1" style="height: 400px; width: 400px; background: blue;display:none "></div>
JavaScript
$('#button-1').click(function(){
$('#div-1').toggle('slow');
})