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 Use the Navigation Element

Michael Leismeister
Michael Leismeister
3,706 Points

How to make links in the nav work?

For some reason the links in my nav are not 'linkable' - here is the code <nav> <ul> <li><a herf="index.html">Porfolio</a></li> <li><a herf="about.html">About</a></li> <li><a herf="Contact.html">Contact</a></li> </ul> </nav>

  • what have I done wrong? They just look like a unordered list...

Try changing herf to "href"

Hi Michael,

Check the spelling on 'href'. It looks like you input 'herf'. Other than that, it looks great!

Hope that helps!

-Kristine

2 Answers

Brenna Leker
Brenna Leker
7,596 Points

Hi Michael, It looks like the error is in your anchors; you need href, you transposed the r and the e.

Happy coding! Brenna

Looks like, everyone's is helpful here :)

Michael Leismeister
Michael Leismeister
3,706 Points

Wow - thanks how dumb of me - it's weird how you can dismiss things.

Happens to everyone when learning for the first time! Try using some form of IDE so that it will auto correct the things and will suggest some suggestions. I personally use Aptana studio, most of the people will use "Sublime Text". And google things before you ask, for the most part you will find your answers in StackOverflow. Happy coding :)