Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Basics Images, Text and Links Understanding File Paths

I couldn't link the home page to the article page.

Here's what I typed in both the index and article file: <li><a href="../index.html">Home</a></li> All the other links worked except this. Not sure what I did wrong here.

1 Answer

Tony B
seal-mask
.a{fill-rule:evenodd;}techdegree
Tony B
Front End Web Development Techdegree Student 10,690 Points

In the article file you need "../../index.html".

What you typed will look for "index.html" in the "2017" folder. Another "../" goes up a level to where the "index.html" file is.