JSFiddle - React, Tailwind, and code Playground
by Dai Duong
HTML
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<button>Toggle between hiding and showing the paragraphs</button>
<p>This is a paragraph with little content.</p>
<p>This is another small paragraph.</p>
JavaScript
$(document).ready(function () {
$("button").click(function () {
$("p").toggle();
});
});