JSFiddle - React, Tailwind, and code Playground
HTML
<script>
$(document).ready(function() {
$('#example').hide();
});
</script>
<a href="#" onclick="$('#example').show('fast')">Show</a><br />
<div id="example">This is an example of text that will be shown and hidden.<br />
<a href="#" onclick="$('#example').hide('fast')">Hide</a>
</div>