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 How to Make a Website Creating HTML Content Create Navigation with Lists

Carlos Garcia
Carlos Garcia
9,095 Points

I'm stuck. Help please!

This particular challenge is asking me to link the list item "Portfolio" to the "index.html" web page. I believe I have it correct, however it's not letting me proceed. This is how i have the code entered below:

<li> <a href="index.html">Portfolio</a></li>

Please let me know if there's an error. Much appreciated! =)

Carlos Garcia
Carlos Garcia
9,095 Points

This is the code I currently have***

(<li> <a href="index.html">Portfolio</a></li>)

Ignore the ( ) in the beginning and end...it wouldn't display my code here for some reason.

3 Answers

Nicole H
Nicole H
2,981 Points

Hi Carlos,

Can you try reposting your code? It doesn't appear to be showing up. Your code for the challenge should look something 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> 
Carlos Garcia
Carlos Garcia
9,095 Points

Thanks for your help! =)

Carlos Garcia
Carlos Garcia
9,095 Points

I wonder why my code wasn't showing. I believe that's what I had, but I'll check it again. Thank u very much! Wish me luck. Lol =)

Daksh Shah
Daksh Shah
3,534 Points

Hi Carlos!

The comment box is not displaying your code as you're pasting the HTML directly.

For future reference: Wrap your code with 3 backticks (```) on the line before and after. If you specify the language after the first set of backticks, that'll help with syntax highlighting.

You can click on the 'Markdown Cheatsheet' link below every comment box for further reference.

Carlos Garcia
Carlos Garcia
9,095 Points

Got it. Thank you very much!

Daksh Shah
Daksh Shah
3,534 Points

You're most welcome :)

Mark your question as solved if your question has been resolved.

Happy learning !