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
Ryan Decker
3,451 PointsFiles & Folders
Is there a video that teaches how to correctly set up your folders and files when building a web page?
Nick briefly mentions that it is a good idea to keep all .html pages in the same folder.
I'd like to know more about the best practices for setting folders up.
2 Answers
Misty Majewski
5,276 PointsWhat I do, is set up a folder with the name of the project... Example.. Misty's Web Page... Inside this folder I have my html pages to my website, a css folder and a js folder or whatever folder you may need depending on project........I do not make a folder for the html pages.. Not sure if this is normal, but I have not had any trouble connecting the pages so this is how I have been doing it.. Works for me..
Shane Meikle
13,188 PointsI am seconding Misty's comment. I would like to expand on the 'creating folder for HTML pages' comment in that when people usually do that, it is for either subdomains or software (ie. forum/blogging software install path).
Also, I typically like to designate asset folders with an underscore preceding the name (ie. _Images) as it lets me quickly locate them.
Ryan Decker
3,451 PointsThank you!
Ryan Decker
3,451 PointsRyan Decker
3,451 PointsThank you!