JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
$("#hidden").hide();
$("#toggle").click(function() {
$("#hidden").toggle();
});
});
</script>
</head>
<body>
<a href="#d" id="toggle">Toggle between hiding and showing the paragraphs</a>
<p>This is a paragraph with little content.</p>
<p id="hidden">This is another small paragraph.</p>
<p>This is a paragraph with little content.</p>
</body>
</html>