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

HTML Introduction to HTML and CSS (2016) Adding a New Web Page Set up an HTML Document

Lauren Hicks
seal-mask
.a{fill-rule:evenodd;}techdegree
Lauren Hicks
Front End Web Development Techdegree Student 1,200 Points

I've accidentally deleted the file index.html on the workspace, is there a way to get that back?

I am in the workspace writing my own html page and I can't figure out why it won't preview, and I realized that I've accidentally deleted the original file with the webpage (index.html). Please tell me I'm not the only one to ever do something this stupid and is there a way to get it back? Thanks

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hi Lauren Hicks

Nope, you're not the first. But, sadly, there is no way to get back what you deleted. You can delete the actual workspace associated with the video, from the Workspaces list, and then go back to the video and re-launch it.
This will bring back all the original starter files, but will not include any code you have added from when you started the first workspace, sorry. :(

Hope this helps a bit. On the upside, redoing it will only help you retain the information even better. :)

:dizzy: