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 trialDevin Kelly
7,343 PointsAccidentally deleted my article.html. Am I hosed?
I accidentally deleted the 2017 folder while trying to delete a file causing me to immediately lose my article.html. Is there a way to recover it or at least a place where I can copy/retype it from?
2 Answers
Jennifer Nordell
Treehouse TeacherHi there! This is pretty simple to fix. Below the video you'll see some tabs. It starts with "Teacher's Notes" and there is one with "Downloads". Under this tab, you'll find a zip file containing the code for each section in both its start and final form. You can extract these from the zip file and upload your article.html
file to your workspace.
To be clear, you can not upload a file directly from the zip file. You must first extract it.
Hope this helps!
Steven Parker
231,271 PointsWas it something you created, or something initially loaded in the workspace? f the latter, you can restart the workspace.
First, save (download) any work you have done that you want to keep. Then go to the Workspaces page and locate the one you are using (most likely shown first). Click on the trashcan icon on the right side to delete the workspace, and confirm when you get the pop-up.
With the workspace deleted, you can go back to the course and "Launch Workspace" again. When it comes up, it should have all the files you started with in their initial states. Then upload any work you saved and continue with the course.
If it was something new you'll have to re-create it. Just remember one of Parker's Rules of Programming is "if you must re-create something lost, it always goes quicker the second time".
Devin Kelly
7,343 Pointswhen I clicked on the workspace tab for the one I was using there was no trashcan icon, plus I was a little nervous deleting the entire thing in case of another mishap. Thanks though!
Devin Kelly
7,343 PointsDevin Kelly
7,343 PointsI feel silly for having completely overlooked this. It worked perfectly, thanks!
web pad
4,483 Pointsweb pad
4,483 PointsI just encountered the same problem today. Thank you for this info. It saved me.