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

CSS How to Make a Website Customizing Colors and Fonts Use Classes in CSS

Tyler Snyders
Tyler Snyders
3,194 Points

CSS accidental Delete! Need Main.CSS code ASAP

So I accidentally deleted my Main.CSS page and now I have no idea on how to get it back. I worked all the way up to the responsive web pages track and I had a lot of CSS that I now do not have. If there is anyone that could give me the code up to that point it would be awesome. Otherwise I will have to go back through the videos and do it all over again. Thanks

3 Answers

Tyler Snyders
Tyler Snyders
3,194 Points

Ahhhh thank goodness. There was a main.css file in the project file and i was able to copy and paste it back in. I swear I am usually really good about saving things and backing them up. Thanks for your help!

Darry Berger
PLUS
Darry Berger
Courses Plus Student 6,818 Points

This is why saving multiple copies of your work is primordial.

The only thing you could do would be to try to retrieve the file from your garbage bin or go download the project files in one of the later lessons.

Try to create backups, you never know what could happen.

The downside from "workspaces" is that you can't retrieve (yet).

Sometimes you can download the files with the project.

I am about to start responsive web pages, have a look if you can find the files, otherwise I could put the main.css up if you like.