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 trialSteve Caprarola
436 PointsHelp, I deleted my custom CSS page by accident.
Is there any way to restore. Otherwise I have to go back and re-do the last 6 modules.
5 Answers
Andrew Shook
31,709 PointsWhere did you delete the CSS file from? A work space, your computer, or a remote server?
Steve Caprarola
436 PointsWithin the Workspace
Andrew Shook
31,709 PointsIn that case its most likely gone forever. Go to the last video you watched and download the project files. They are located at the bottom of the page near the teacher notes. They won't have all the CSS you did but It''l be a start.
Nicholas Hargett
1,030 PointsI did the same thing with the index.html file, luckily I had the browser still open and I was able to view the source code. I recreated the file and cut and pasted my code. This was a quick and easy fix. Just for future reference.
Alexander Melo
4,297 PointsGuys if any time you guys delete your file while on workspace, you can use CTRL + Z or CMD + Z to Undo.