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 Introducing the Practice

I am trying to link the index on the about page and it is not working. I do not know what I am doing wrong.

I am trying to link to the index.html on the about page and it is not working. i do not know what i am doing wrong. Please help. Here is the code I am using:

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

2 Answers

Hi Cherie! -

This is because the index.html and about.html page are in different directories. The about.html file is in a folder named "pages", so you have to step out of that directory to get to the index.html file. The code below shows how to do this.

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

Happy coding!

Robert,

Thank you so much for your help!