Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Bootstrap 4 Basics (Retired) Using Bootstrap Components Building a Navbar

Why won't my ul elements line up in the nav?

<nav class="navbar fixed-top navbar-inverse bg-primary pb-4">
  <div class="container">
    <ul class="nav navbar-nav">
      <li class="nav-item">
        <a class="nav-link" href="#home">Home <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#about">About</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#speakers">Speakers</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#schedule">Schedule</a>
      </li>
    </ul>
    <a class="navbar-brand ml-auto hidden-xs-down" href="#">Presented by Treehouse</a>
  </div>
</nav>

Try this replace: ```<nav class="navbar fixed-top navbar-expand navbar-inverse navbar-dark bg-primary"> <ul class="navbar-nav mr-auto"> <a class="navbar-brand hidden-xs-down" href="#">Powered by Teamtreehouse</a>