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 trialLiz Toy
220 PointsSomething I did on Challenge Q 3 made Challenge Q 2 no longer passing--is it me or a bug in the system?
I've tried this challenge 2 "Inside the navigation element, create 3 list items with the words Portfolio, About, Contact" twice now. I pass that, then do Q 3 and a message says Task 2 is no longer passing. Can't figure it out! Time to quit for the night!
4 Answers
lovell
7,882 Points1- Yes Cosmin, anchors can't be a child of a 'ul' so need to be 'inside' list items for W3 authentication.
2- Liz it's always something small that you do in Q3, for example, that messes up what you successfully did in Q2.
Check over it again with fresh eyes or paste your code on here. Search the forum to see how to paste code or check the cheatsheet below.
:-)
Sherry Parker
9,601 PointsI have had that happen a few times too. I just redo the previous question with the same answer I gave before and then redo the one I got wrong. Not sure why it does that, could be a bug.
Ken Alger
Treehouse TeacherLiz;
Here is what belongs between the header tags for that challenge. Nothing else in the html document changes:
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<a href="index.html"><li>Portfolio</li></a>
<a href="about.html"><li>About</li></a>
<a href="contact.html"><li>Contact</li></a>
</ul>
</nav>
</header>
Cosmin Cioaclă
21,339 PointsShouldn't the anchors be inside the list items?
Ken Alger
Treehouse TeacherYup, you're correct. It was a late night, but it made it through the challenge engine... :(
CORRECTED:
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>