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 HTML Links Websites: Part 2

Joshua Miller
Joshua Miller
7,824 Points

Putting ../ is not going up into the higher folder

I have added the ../ to the href link on another_page, but when I click the go back button, its still trying to reference index.html out of my_directory. Anyone know why its not working?

Joshua Miller
Joshua Miller
7,824 Points

I have them in this order in a folder Links folder; index.html, my_directory folder; another_page.html

Joshua Miller
Joshua Miller
7,824 Points

I have them in this order in a folder Links folder index.html my_directory folder another_page.html

so you have links folder, inside of it you have index html and my_directory folder and inside my_directory you have another_page html right?

1 Answer

Joshua Miller
Joshua Miller
7,824 Points

Correct. I was able to figure out what happened. When I moved anotherpage in my_directory, it made a copy. So I actually was still using the anotherpage file that was in the links folder, not the one in my_directory.