title: jQuery - using the not() selector
body: <p>I'm a beginning student learning jQuery, and the question says:</p>
  
  <blockquote>
    <p>Using the “not” built-in function, set the “text-decoration” CSS property to “underline” for all LI elements that do not contain a UL element.</p>
  </blockquote>
  
  <p>I've tried a few different selectors, including:</p>
  
  <pre><code>$(li:not(li &gt; ul)).css('text-decoration','underline');
  $(li:not(li ul)).css('text-decoration','underline');
  </code></pre>
  
  <p>Can anyone help me out? Thanks.</p>