JSFiddle - React, Tailwind, and code Playground
HTML
<div class="the_box_to_show">show or hide me!</div>
JavaScript
$(document).ready(function() {
$('div').click(function() {
// $(this).hide();
$(".the_box_to_show").toggle();
});
});