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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Meg Cusack](https://uploads.teamtreehouse.com/production/profile-photos/13009/micro_Screen_Shot_2016-02-15_at_9.17.44_AM.jpg)
Meg Cusack
11,448 PointsHow to get workspace back to its original code?
I am reviewing the JavaScript Treehouse learning that I did months ago.
For the challenges, when I open the workspace, it already has the correct code in it that I did months ago (it remembers my code from months ago).
I want the workspace challenge to show the code with errors that Treehouse was having us correct. How do I get it to show that code (I would rather not remove all past cookies for every site I've ever been on).
4 Answers
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsYou can restart the workspace. First, go to the Workspaces page and locate the one you are using. 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.
![Meg Cusack](https://uploads.teamtreehouse.com/production/profile-photos/13009/micro_Screen_Shot_2016-02-15_at_9.17.44_AM.jpg)
Meg Cusack
11,448 PointsI found the trash icon. So strange- I couldn't get to it from the workspace itself. The three icons at the top right (I tried it in 3 browsers- Chrome, Firefox and Safari) were only for "snapshot workspace", "fork workspace" and "preview"- no trash icon. But from the instructional video page, I clicked up at the top on "Workspaces" like you said, and that link took me to a link of all my past workspaces. On that page, they had the trash icon as one of the options to the right of every title. I trashed it there and then relaunched and all my past edits were gone. Thanks for your help!
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsThat's right, there's no way to delete the workspace from inside itself.
![Meg Cusack](https://uploads.teamtreehouse.com/production/profile-photos/13009/micro_Screen_Shot_2016-02-15_at_9.17.44_AM.jpg)
Meg Cusack
11,448 PointsI see now. Thank you!
![Matthew Cramer](https://secure.gravatar.com/avatar/f7d9d8ee86672c66671e376a76812cbe?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Matthew Cramer
1,075 PointsThank you! Very helpful!
Meg Cusack
11,448 PointsMeg Cusack
11,448 PointsI don't have a trash icon on the right side of the workspace?
Steven Parker
230,688 PointsSteven Parker
230,688 PointsAre you sure you're on the workspaces page? Click on the blue word above, or the word "Workspaces" on the menu bar at the top of the window. At the far right of each workspace you should see 3 icons, the last one is the trash can.