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 trialshane reichefeld
Courses Plus Student 2,232 PointsWhat to do for HTML5 and CSS
I have a mac and want to know where to download a text editor or something that will allow me to write html and css like treehouse so i dont have to rely on treehouse workspace for my code writing?
2 Answers
Dom Talbot
7,686 PointsHey Shane
For a good all round editor I'd suggest Brackets.io
However depending on your technical level, my favourite is Atom.io.
Another editor to consider could be Visual Studio Code which also has a nice simple interface :)
casthrademosthene
6,275 PointsYou can also use sublime text editor (I personally started with them and now I'm using Atom).
But like Dom Talbot mentioned you just have to open the file in your browser in order to preview it. Once you save your html file on your computer, just go in your computer, go into documents and find the index.html file that you saved and right click the file.
It should give you different options and all you have to do is choose open in browser and then it'll open up in your browser and you'll be able to see a live preview of your code.
Whenever you make a change in your text editor, all you have to do is save it and then press refresh in the browser and you'll be able to see the changes that you made.
shane reichefeld
Courses Plus Student 2,232 Pointsshane reichefeld
Courses Plus Student 2,232 Pointsok so i have atom.io and i wrote some code that will run i just cant find where i could see the page view? so i can what my code looks like live
Dom Talbot
7,686 PointsDom Talbot
7,686 PointsOk so the easiest/quickest route is to navigate to that file in your Finder, then open the file in your browser of choice.
Note: You'll need to save the file somewhere on your hard drive first.
Shortcut: From Atom you can right click the file then click "Show in Finder" :)
Dom Talbot
7,686 PointsDom Talbot
7,686 PointsAtom.io can be a bit involved, so Brackets.io could be a simpler editor to begin with.
When using brackets.io you can click on the lighting bolt in the right top corner, which will automatically start a local server and load your file in a browser for you :)