Show only all paragraphs in jquery
<p>I'm trying to learn jquery, so I'm attempting to write a script that'll hide most things on a page, leaving (for now) only the paragraphs.</p>

<pre><code>(function() {
  var all = $("*");
  all.hide();

  var paragraphs = $("p");
  paragraphs.show();
 })();
</code></pre>

<p>That is the code I have now, but it doesn't work. It hides everything, but it doesn't show the paragraphs afterwards. What am I doing wrong?</p>
