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

Hyper Link "Problem"

I did everything as described in the video and my h1 and h2 (which should be hyper linked like in the video, does not appear as blue and clickable as they should be.. anything i'm missing here? ;\

could you show me your code?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Snir Nechmad | Cupcake Baking Master</title> </head> <body> <header> <a herf="index.html"> <h1>Snir Nechmad</h1> <h2>Cupcake Baking Master</h2> </a> <nav> <ul> <li><a herf="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <p>Gallery will go here.</p> </section> <footer> <p>© 2014 Snir Nechmad.</p> </footer> </body>

</html>

just to make things clearer - the tutorial in the video shows the guy creating a link to index.html, now when i tried it on the <nav> section it worked, but for some reason it didn't create the same links in the <h1> and <h2>

2 Answers

There is nothing wrong with the About and Contract anchor tags. But you made a spelling mistake in the first anchor tag.

You wrote herf

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

You should write:

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

ohhhh thank you so much :))))

You're welcome :)