JSFiddle - React, Tailwind, and code Playground

by Shaunak Deshpande

HTML

<button>Toggle</button>
<p style="display:none">
  This is the paragraph to end all paragraphs.  You
  should feel <em>lucky</em> to have seen such a paragraph in
  your life.  Congratulations!
</p>

JavaScript

$( "button" ).click(function() {
  $( "p" ).slideToggle( "slow" );
});