p Toggle test

by salitrapraveen

HTML

<button>Toggle</button>

  <p>
    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>

CSS

p { width:400px; }

JavaScript

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