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 trialIan Barrett
8,439 Pointssublime 2 to browser
I have downloaded sublime 2 and have started writing the code in the html and css tutorials. I cannot look at my code on a webpage to see how each line changes things as you do in the tutuorial. I have windows 7 and am using google crome as my browser.In the tutorial he drags the index file right to google crome and a webpage opens. this is not working for me. Thanks
4 Answers
Muhammad Javed
3,979 PointsOn Mac OSX it works the same way as well, drag and drop should work fine. Make sure you have the right file/directory and dropping into the url bar also make sure you are saving your code on sublime. Another thing you can do is Shift+CMD+S and change the directory save it somewhere else and try opening it again.
Alex Bahler
8,034 PointsIan, I would just try double-clicking on the file and it should open in your preferred browser (or right-click and choose to open with Chrome). The "drag" behavior works for me into Chrome, but I'm not sure if you're experiencing different results because you are on Windows (I'm using Mac OS X).
Jeff Busch
19,287 PointsIn the tutorials I believe Macs are being used. In Windows with Chrome running press "CTRL + t" to open a new tab. Now press "CTRL + o" to open the open file dialog box. Navigate to where your html file is and open it. Now all you have to do after you alter and save your file is refresh that browser window to see the changes. NOTE: Sometimes Chrome refresh doesn't seem to refresh so click inside the URL bar at the top of the browser and then press enter.
Jeff Busch
19,287 PointsIn the tutorials I believe Macs are being used. In Windows with Chrome running press "CTRL + t" to open a new tab. Now press "CTRL + o" to open the open file dialog box. Navigate to where your html file is and open it. Now all you have to do after you alter and save your file is refresh that browser window to see the changes. NOTE: Sometimes Chrome refresh doesn't seem to refresh so click inside the URL bar at the top of the browser and then press enter.
Adam Sackfield
Courses Plus Student 19,663 PointsAdam Sackfield
Courses Plus Student 19,663 PointsF12 in Sublime should preview in broswer