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

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

What link did you click to get the 404 error?

5 Answers

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

Contact

No it didn't work. I of have all the files.

I got it, my index.html was wrong, it was "contact.hmlt" instead of contact.html. Thanks

glad you got it figured out.

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