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 trialkalle oman
1,178 PointsAdjust the profile page and the header
Hello! My nav dosen't go onto the header it stays on the same place everything else works the background removes and it moves to the right. https://w.trhou.se/gjj7kbz1st
1 Answer
Dimosthenis Tzemanakis
8,049 PointsHello kalle!
The problem is that the nav isn't inside in header. So if you put it there you will fix the little problem. :)
<header>
<a href="index.html" id="logo">
<h1>Egna</h1>
<h2>Boxen</h2>
</a>
<nav>
<ul>
<li><a href="index.html" class="selected">Shop</a>
</li>
<li><a href="about.html">About</a>
</li>
<li><a href="contact.html">Contact</a>
</li>
</ul>
</nav>
</header>