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.

General Discussion

David Stoltz
PLUS
David Stoltz
Courses Plus Student 1,802 Points

Folder/Document/File Management - Best Practices?? Help!

HI! New developer here.

I am struggling with my local (for now) folder/file management when creating new websites in both WordPress and HTML. As someone with no CS background I am very confused on how to best manage my folders and files like the pros do.

What should I name each of my folders? Why? What goes in each folder? Why? What are the best practices I should be learning and following? Are there any good youtube videos that can help me? (I've looked - Maybe you can help point me to a great one!)

Thank you for helping this new developer out!

Best, David

2 Answers

Shaun Edwards
Shaun Edwards
3,050 Points

For html i normally go with the simple

Style - for css img - for any media you intend to use js - for any javascript documents

But its what you would prefer i would recommend finding your style and working on that