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 trialJoshua Gomes
914 Pointshaving trouble
i put my <nav> tag under the link the header and a closing </nav> tag but i get it wrong? Help please!
7 Answers
Jason Slabbers
4,447 PointsYou must add the nav element after </a> with an unordered list in it.
Jason Slabbers
4,447 PointsCan you add your code?
Joshua Gomes
914 Points<header> <a href="index.html"> <nav> <ul></ul> </nav> <h1>Nick Pettit</h1> <h2>Designer</h2> </a> </header>
Jason Slabbers
4,447 PointsWhat code did you use? So I can see whats wrong in your code.
Joshua Gomes
914 Pointsi used<nav> <ul></ul> </nav> it is the navigation section of the html courses.
Joshua Gomes
914 Pointsthe forum isnt showing the coding i typed out?
James Barnett
39,199 Points>
the forum isnt showing the coding i typed out?
Nope.
The forum uses markdown to correctly format code, check out this thread on how to type code in the forum for some examples.
Jason Slabbers
4,447 PointsHere is your answer: <code> <header> <a href="index.html"> <h1>Nick Pettit</h1> <h2>Designer</h2> </a> <nav> <ul></ul> </nav> </header></code>
Jason Slabbers
4,447 Points''' <header> <a href="index.html"> <h1>Nick Pettit</h1> <h2>Designer</h2> </a> <nav> <ul></ul> </nav> </header> '''
Joshua Gomes
914 PointsThank you, i just made a mistake of closing the unordered list and the navigation element, when they were supposed to remain open.
Jason Slabbers
4,447 PointsOkay! You're welcome, good luck!