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
Francisco Sandoval
5,657 PointsContact page
<li><a href="index.html" >Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html"class="selected">Contact</a></li>
</ul>```
I get 404 Not Found error. I would appreciate your help.
5 Answers
Jason Anello
Courses Plus Student 94,610 PointsI didn't notice this the first time around but you're missing a space between your href and class attributes. That may be the problem right there.
Did you make sure that you have contact.html with your other two html files?
Francisco Sandoval
5,657 PointsContact
Francisco Sandoval
5,657 PointsNo it didn't work. I of have all the files.
Francisco Sandoval
5,657 PointsI got it, my index.html was wrong, it was "contact.hmlt" instead of contact.html. Thanks
Jason Anello
Courses Plus Student 94,610 Pointsglad you got it figured out.
Jason Anello
Courses Plus Student 94,610 PointsSo you have a space inserted before class?
<li><a href="contact.html" class="selected">Contact</a></li>
You can click on both index and about link but not the contact link?
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsWhat link did you click to get the 404 error?