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 trialUbo Town
3,227 PointsLink
Practice File Path, doc 'beagle.html' in 'posts file'.
1 - link to the "index and ' about' html files is the request. I am on 'posts' file and about.html is nested in 'pages'file, so if I want to link 'beagle.html' to 'about.hmtl' I will use "../about.html" because is one level above beagle.
Why to link 'beagle.html' to index.html I also need to put "../index.html"? I thought it was 2 levels above. I am on file posts, above is file pages where we have 'about.html' and then above 'file pages' is html.
1 Answer
Thomas Ngo
6,434 PointsHi Aline,
The index.html file is actually only one level above when you are at the beagle.html page. If you look closely at index.html, it's placed in the same level as the other folders 'css, images, pages, and posts'. It may be hard to see because it can look like the index.html is rooted in the images folder but it is not.
I hope that helps...
-Thomas