Why does this not work?<Solved!>


#1

    <!DOCTYPE html>
    <html>
      <body>
     <div class="container">
     <div class="nav">
      
        <ul>
    	  <li>Sam</li>
    	  <li>Browse</li>
    </ul>
    	 	</div>
    	  
    	<li>Sign Up</li>
    	<li>Log In</li>
    	<li>Help</li>
    	
    	</ul>
    	
    	</div>
    	
    	</div> 
      </body>
    </html>
Why does this not work? It looks okay!

#2
  • That /div tag between your two lists is a problem. That /div is closing the nav right there.
  • Your second list doesn't have an opening <ul> tag.
  • The order of the nav and container divs should be reversed. The container should be inside the nav.