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


organizing css and html files, saving files....


Three questions. Yup – three.

I’m trying to learn about how to create html files/css files, where to save them, how to save them and how to organize them. (Any tips would be appreciated. I am using TextMate.)

QUESTION 1) I noticed that when I organize my css and html files into folders in my texteditor, the folders do not show up in the folder I saved my html and css files on my desktop. I’m confused. Won’t this be a problem when I try to upload my pages onto the internet eventually?

Do people normally organize html/css files in a folder on their desktop in a css or img folder? Or are all the files usually just all scattered about in ONE folder?

QUESTION 2) Is it better to save one’s files as a project and work on them OR just open up a folder on one’s desktop and work on them?


I tried to link from my index.html page to two css pages. The index page was in one folder. The css pages were in another folder. One of them was in a sub-folder under the css folder. Neither of the two css links worked. Any ideas? Thanks.

Here was my code that I put at the top of my index.html page.

computer code..... link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen" computer code.... link rel="stylesheet" href="css/grid.css" type="text/css" media="screen" (I took off the tags..etc because otherwise it didn't show up in the forum.)

Thanks!! Kristina

2 Answers

Chase Lee
Chase Lee
29,275 Points

I usually organize my files the way you said: "html", "css", "js", "img", etc.

I normally save them by project, for an example, if I was working on a website for a client I would have a folder with the website name and then the other folders that I mentioned above.

As for number three...Here is a link on how to display code in the forum, and could you give us a screenshot of your layout.

Thanks Chase!

James Barnett
James Barnett
39,199 Points

Here are 2 articles that should answer most of your questions

After you read them let us know if you still have any questions

Okay, I read through them. Very helpful. I was creating folders in my texteditor. Rather than creating the folders on my desktop. And they were not showing up. Thanks for your help!

Do you have new links for these? I couldn't access them :\