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
Brent West
Courses Plus Student 3,011 PointsUsing sublime text
I'm downloaded sublime text 2 to follow along in front end development. To view the code I've written in a browser, do I need to purchase the license? I used the new workspace feature but every time I save and close it, all my work disappears.
4 Answers
Erik McClintock
45,783 PointsBrent,
You do not need to purchase the license to use Sublime Text 2 in order to use any of its functionality. It is a free product, though if it ends up being your editor of choice, and once you have the means to do so, purchasing the license (at around $70USD at this point in time, I believe) is a way to give back and help keep the product maintained and going!
Erik
Brent West
Courses Plus Student 3,011 PointsThanks Erik. That helped me out greatly. I appreciate it.
Erik McClintock
45,783 PointsAbsolutely!
Happy coding!
Erik
Tamsin Waters
6,116 PointsYou can also open the directory (folder) where your code (index.html page) is saved... open the browser of your choice and drag and drop your index HTML page into browser page to open it in the browser. Or you can double click your index.html page in its directory and it should open in a browser.
Brent West
Courses Plus Student 3,011 PointsCool, so glad I asked because I was stumped. Thanks Tamsin.
Tamsin Waters
6,116 PointsNo worries Brent, happy coding :)
Erik McClintock
45,783 PointsErik McClintock
45,783 PointsIn order to view your code in-browser (regardless of what external text editor you're using), once you save your HTML file, do the following:
From there, your code will render and display in the browser, and you're good to go! Any time you make changes/updates to your files, make sure you Save them, then go back to their tab in your browser and hit refresh, and you'll see your changes (if appropriate).
Erik