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 trialRonelle Raymond-Cadette
209 PointsAbsolutely none of my codes work.
I have been through the forums and only because the code challenge area bugs out and lets me pass do any of my codes work. Is anyone else experiencing these issues?
<header> <a href="index.html"> <nav> <ul> </ul> </nav> </a> <h1>Nick Pettit</h1> <h2>Designer</h2> </header>
Ronelle Raymond-Cadette
209 Points<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nick Pettit</title>
<header>
<a href="index.html">
<nav>
<ul>
</ul>
</nav>
</a>
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</header>
</head>
<body>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
9 Answers
Juan Aviles
12,795 PointsDon't give up just yet ;-) Here is what your HTML should look like. Keep in mind that an unordered list will do nothing unless you have list items in it so I included three to get you started. If I remember the lesson correctly, Nick's name and occupation were supposed to be links to the Index page, so I put them in the anchor tag. A section will not show anything if it's empty, so I put some content in there as well. Other than that, you just had a few opening and closing tags out of place. See if this helps.
<html>
<head>
<meta charset="utf-8">
<title>Nick Pettit</title>
</head>
<body>
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
</nav>
</header>
<section>
<h3>About</h3>
<p>This is my about text</p>
</section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
Also remember that there is a lot of CSS that went along with this lesson, so things may not look exactly right if the CSS isn't correct as well.
Juan
Ronelle Raymond-Cadette
209 PointsThank you. This was helpful. I also had a friend of mine look it over as well and he gave me the same answer.
Kevin Scanlon
1,248 PointsHi:
Have you been writing them in your own workspaces page?
Kevin
Ronelle Raymond-Cadette
209 PointsThere is literally no way to elaborate. I post my code and hit check and whenever it feels like it it says well done.
Kevin Scanlon
1,248 PointsThe codes worked ok for me in my workspaces. Let me know if you're still having trouble.
Brian van Vlymen
12,637 PointsI suggest you to learn how to use the Markdown Cheatsheet how to share your code so we can help you out! unless we can report to the support its a bug. please look at the bottom the bold word how to use by back quote three time. "```" ,
Ronelle Raymond-Cadette
209 PointsI posted my code it's right up there.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nick Pettit</title>
<header>
<a href="index.html">
<nav>
<ul>
</ul>
</nav>
</a>
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</header>
</head>
<body>
<section></section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
Brian van Vlymen
12,637 Pointstry refresh maybe you accident press the tab or enter that possible cause the bug for over little thing.
Ronelle Raymond-Cadette
209 PointsI have tried that. This is my third time doing this section. It's just not working.
Lush Sleutsky
14,044 PointsI don't recall the exact details of that exercise, but I wouild try doing:
<header>
<nav>
<ul>
<a href="index.html"></a>
</ul>
</nav>
</header>
Maybe that will work, as I have no really seen unordered lists nested inside a nav, which is listed inside an anchor. Maybe just the order of your DOM tree is off? I think that the nav should be the first element nested under the header, and then you can work from there. Hope that helps...
Juan Aviles
12,795 PointsDid you figure this out yet? Pay attention to what you have inside your "head" and what you have inside your "body".
Ronelle Raymond-Cadette
209 PointsThanks for the help but none of it has worked. Thanks again.
Lush Sleutsky
14,044 PointsLush Sleutsky
14,044 PointsCould elaborate please, and perhaps post the code you are referring to? It's just hard to follow the way you worded that question...