HTML HTML Basics Images, Text and Links Understanding File Paths

I 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 ):

If it makes you feel any better, I just did the same thing after working on the project for like an hour and a half.

Chinwe Nwadiora
Chinwe Nwadiora
1,832 Points

I 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
MOD
Jason Anders
Treehouse Moderator 144,839 Points

Hi 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. :pensive:

:dizzy:

For anyone else who has this problem just paste the new code in paste bin and copy it over when you create a new workspace