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
Chanan Greenblatt
191 PointsHelp with beginner html coding challenge!
Hi. Iv'e been asked to:
- Link portfolio to "index.html"
- Link about to "about.html"
- Link contact to "contact.html"
What I wrote -
<header> <a href="index.html"> <h1>Nick Pettit</h1> <h2>Designer</h2> </a> <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> </header>
Can any one tell me whats wrong with it?
THANK YOU!!!
4 Answers
Michael Jurgensen
8,341 PointsHi,
I believe its href not herf:
<ul>
<li><a href = "index.html"></a></li>
.....
Chris Shaw
26,676 PointsHi Chanan,
You have a simple typo, instead of href you have herf.
Happy coding.
Salman Akram
Courses Plus Student 40,065 PointsI find spelling mistake called "herf" :)
It should be "href"
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
Chanan Greenblatt
191 PointsYou all rock. Thx for the quick response!
=/
C.
Emma Willmann
Treehouse Project ReviewerEmma Willmann
Treehouse Project ReviewerSimple mistake...I've made it to. It should be href, not herf. If it helps to remember, it actually stands for hypertext reference.