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 trial

HTML

Issue with Create Navigation With Lists challenge

https://teamtreehouse.com/library/create-navigation-with-lists

Hi, am getting stuck in challenge three of How To Make A Website... Create Navigation With Lists challenge.

I get told that my code is correct in question two, then I answer question three (correctly I think) and get a message saying "oops question two no longer passes... have tried several times, but can't get it to budge, what to do?

can you provide us your answer so that we can help you to identify the mistake you have done ?

This happens in challenges when you make a mistake in the challenge, a error will be thrown that previous question no longer passes.

Thanks Aishu, issue all solved.

2 Answers

Your navigation should look like this...

      <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>

You haven't shown us your code so it is hard to identify where you went wrong, but definetly compare so that you learn from it rather than just copy and paste my code.

Some common errors would be having Portfolio, About & Contact outside of the anchor "a" tag but still inside the list "li" tag

Thanks for the forum tips - and I thought I just needed to learn HTML :)

Have a fab evening, thanks again for your help!

Thanks Curtis, that's a massive help. This was my first time posting in the community forum, I'll make sure to include screen shots of code next time. Thanks again, Luci

My pleasure Luci :) !

Some forum tips for you if you're interested. You technically just replied to your thread with an answer. Notice how I am replying to your answer with a comment.

Also, for posting code to the forums briefly read this page here

https://teamtreehouse.com/community/posting-code-to-the-forum