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 How to Make a Website Creating HTML Content Include External CSS

Tyler Smith
Tyler Smith
751 Points

I accidentally deleted my index.html page and hit undo but it didn't bring it back. How can I get it back?

Just wanna find out how I can get my index.html page back.

4 Answers

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Hello Tyler,

I'm not sure there's anything you can do to get it back from Workspaces but you can download the project files from the downloads tab below the video to start there or move ahead to the next video and download those project files.

Of course, if you still have the page loaded in your browser you can instead create a new index.html file in your Workspace , then right-click on the page in the browser, view source and copy/paste the HTML

I hope this helps.

Tyler Smith
Tyler Smith
751 Points

Thanks Justin! I didn't even think about looking at the source of my page that was open. That worked!!

If you delete in workspace, I really don't know what to do. And if you deteled it in pc, check recycle bin.

Tyler Smith
Tyler Smith
751 Points

Yes from workspace. I had the wrong item selected and hit delete. Then hit undo and it didn't bring it back.

Sorry, I really don't know what to do. Maybe best way is to contact Treehouse support, because I can't find any other options.