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 trialMakeez Hamidy
436 PointsI deleted a folder in my workspace. "index.html" ... Is there a way I can get it back?
Deleted it trying to delete a folder I made by accident ):
Chinwe Nwadiora
1,832 PointsI also accidentally deleted the index.html file in my workspace after hours of work. There really should be a quicker/easier way to retrieve these files, and they shouldn't be so easy to accidentally delete. Very frustrating.
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHi there,
Sadly, there is no easy way to get it back. The only way is to go into your Workspaces and delete the entire Workspace for the video/course you are on (only that one!). You then go back to the video and relaunch the Workspace using the link under the Video. This will load a new Workspace with all the original files, but any changes you made will be lost.
Sorry.
Kiaya Last Name
3,129 PointsFor anyone else who has this problem just paste the new code in paste bin and copy it over when you create a new workspace
Phil Hobbes
3,879 PointsPhil Hobbes
3,879 PointsIf it makes you feel any better, I just did the same thing after working on the project for like an hour and a half.