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

Deleted the CSS on accident and selected "save all" once I was done writing the HTML. Can't retrieve the CSS now.

How do I get the original CSS back in workspace? When I launched workspace I thought I was in the HTML tab and saw a bunch of code and deleted it to write my HTML. Any way to retrieve the CSS after selecting "save all"? I even tried going back to an earlier video but it wouldn't work.

Thank you in advance for your help!

1 Answer

Have you tried deleting that workspace and launching it again from the video? That should reset everything, so you might want to keep a copy of your modified html file elsewhere.

Forgot I could do that! Thanks jb!

Great advice, jb30 :-D

Creating a new workspace should allow you to "restart" your progress. This will wipe any edits you may have made throughout the course so far - but that's okay, because this stage is dedicated to teaching you some new skills. Starting with a fresh set of files is just fine!

For anyone else who needs help here, try following these steps:

  1. Start or replay the video again (even if you've finished the video, your progress will be saved!)
  2. When the video is playing, you'll see a button in the bottom right corner that says "Launch Workspace". Click on this!
  3. Select "Launch Different Workspace" in the bottom right.
  4. Select "Create New Workspace".
  5. Give your workspace a name. You can call it anything you'd like - this just allows you to locate this workspace later in your personal files on Treehouse.
  6. You can leave the second "Pick an environment to start from" field as "Any environment"
  7. The template will likely have selected "Getting Familiar with HTML and CSS - Welcome to HTML and CSS" from the drop down. You can leave it on this, too!

Once you hit "Launch it!" you'll have created a new workspace with all the required files available :-D