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 trialTyler Smith
751 PointsI 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
Treehouse Guest TeacherHello 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.
georgekiknadze
Courses Plus Student 6,307 PointsIf you delete in workspace, I really don't know what to do. And if you deteled it in pc, check recycle bin.
Tyler Smith
751 PointsYes from workspace. I had the wrong item selected and hit delete. Then hit undo and it didn't bring it back.
georgekiknadze
Courses Plus Student 6,307 PointsSorry, I really don't know what to do. Maybe best way is to contact Treehouse support, because I can't find any other options.
Tyler Smith
751 PointsTyler Smith
751 PointsThanks Justin! I didn't even think about looking at the source of my page that was open. That worked!!
Justin Horner
Treehouse Guest TeacherJustin Horner
Treehouse Guest TeacherYou're welcome!