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
Felix Johansson
3,341 PointsHow do I copy my workspace code to a folder and make it work?
How do I copy my workspace code to a folder and make it work?
1 Answer
Emanuel Bucsa
7,697 PointsThere are 2 ways you can do this:
In the workspace window, click on File in the Menu then select Download Workspace. You'll be downloading a .zip archive which contains all your html and css files for the current project. This is the easiest way.
Select the whole code in each file and copy + paste it into notepad or a similar word processor. (Right-clicking won't work in my case, so I've used Ctrl+C to copy and Ctrl+V to paste the code.) After you paste the code into a word processor, you need to save the file under a correct extension. If you're using notepad, click on File / Save As and in the window that appears give the file a proper name using an extension (for example: index.html for html files, or style.css for CSS files.)
Hope this helps :)
Dylan Dixon
947 PointsDylan Dixon
947 PointsAdding to this, in order to get it to work you can open it in your browser by dragging and dropping it into your web browser window.