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

after changing the nav links, it still sends me to the root folder for my C: drive. They're in ../../index.html format.

The nav links are still sending me to a root folder even after I changed the file paths back to the standard ../../index.html method.

1 Answer

Cory Harkins
Cory Harkins
16,500 Points

Root

+css

+images

+js

+pages

++page2.html

+index.html

To navigate to page 2: <a href="pages/pages2"></a>

index.html's navigation/external links are contextual. Wherever your index.html is dictates if you should drill down into folders or back out.

Your question really doesn't give much to go off of, so I hope I hit the target.

Just a reminder:

./ (root)

../ (back-out)

/nextFolder/nextFolder (drilling down)