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

Is error message wrong?

Error message says the Portfolio should be linked to index.html. Please look at my work and tell me if error message is incorrect or what is wrong with my work. Thank You!

 <nav>
        <ul>
          <li><a herf="index.html">Portfolio</a></li>
          <li><a herf="about.html">About</a></li>
          <li><a herf="contact.html">Contact</a></li>
         </ul>
      </nav>
Dave McFarland
Dave McFarland
Treehouse Teacher

Hi Alicia Fry

To put code into a forum post use triple back ticks -- ``` -- around the code. I fixed your code here, but in the future here's a forum discussion that describes how to add CSS, HTML, JavaScript or other code in the forum: https://teamtreehouse.com/forum/positing-code-to-the-forum

Thank You.

1 Answer

kevin jordan
kevin jordan
11,353 Points

Alicia - Looks like you're misspelling the 'a href' tag. You have it as 'a herf'

Hope that solves it !! -KJ

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