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 trialMarquis Young
221 Pointswhat is it i am doing wrong in the coding.I did everything they asked [me to do
I dont understand what they want from me.I have done exactly what they want,
<!DOCTYPE html>
<html>
<head>
<nav>
<meta charset="utf-8">
<title>Nick Pettit</title>
</nav>
</head>
<body>
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
</header>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
3 Answers
Michael Afanasiev
Courses Plus Student 15,596 PointsHey Marguis,
You mixed head with header :) I know..it's confusing at first. Your nav should be inside the header tag.
Marquis Young
221 PointsThat makes alot of sense.Thank you for the help.I was getting very frustrated at the fact that it woudnt work but it was just me being a idiot.
Michael Afanasiev
Courses Plus Student 15,596 PointsTrust me, you'll pay more attention next time. That's how we learn!
Afrid Mondal
6,255 PointsHi Marquis, Actually you have to put the nav element into the header tag not into head tag.
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
<nav>
<ul></ul>
</nav>
</header>
Phil Arnold
11,331 PointsNo offence, but what help is it just giving the answer?
Michael Afanasiev
Courses Plus Student 15,596 PointsHey Phil,
I'm not sure if this was meant for me or Afrid but, I see nothing wrong with giving the answer as long as I see the person did some effort to solve it. If somebody does not bother to think through or even post the code, I will keep on asking probing questions without giving the final solution even if I am 100% sure what he/she is talking about.
Afrid Mondal
6,255 PointsHey Phil, I know you are trying to help as well as everyone in this system but I think if a person is asking for something and if we get that, then it would be wise to get him the answer just said as Michael.
Phil Arnold
11,331 PointsPhil Arnold
11,331 PointsExactly what have you been asked to do?