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.
Mohammed SelemanFront End Web Development Techdegree Graduate 15,005 Points
Root Relative Path
Is root directory the folder that you first create when starting a project? In this case index.html was the first folder I made so its the ‘root directory’?… If lets say I made a folder called ‘welcome.html’ first then that would be the root directory. I don’t quite get how we know what the root directory is…
First, you have to make the distinction between files and folders. index.html and welcome.html are files. Files exist within a folder. If index.html was the first file you created, then it would exist within the root folder for that project.
If that doesn't clear things up, reply and I'll provide more details.