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 trialSamuel Snyder
5,331 PointsGuil saves his code and then can view it in the browser. How do you set that up with Sublime 2?
I am simply trying to find out how to render my code in a real browser like Guil is doing. I've used Workspaces in the past, but don't see that as an option in this deep dive. Is there a simple way to do this? I like to follow along coding with the instructor.
2 Answers
Kevin Kenger
32,834 PointsHey Samuel,
If you haven't already, download Sublime Text. Then you can create a folder on your Desktop, or wherever you'd like to keep all of your files. Within this folder, you can recreate the file structure of Workspaces. A folder for CSS, a folder for images, and so on. You can open up Sublime Text and save a file into your folder and call it index.html. Then you can open that file in the web browser and code your heart out.
Nick Ocampo
15,661 PointsIf you're viewing the file on your browser, whenever you refresh your page (command + R), you should be able to see your changes. If you have the LiveReload Plugin for Chrome, you don't even have to refresh your browser, but I like being able to reload manually personally.
Samuel Snyder
5,331 PointsSamuel Snyder
5,331 PointsThanks for the help! This worked for me. Appreciate the help!