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 trialAndrew Wade
647 PointsHow do I get my html to colour up in a similar way to the example? It makes it much easier to pick out.
There's blue for the tags, green and black etc
5 Answers
Unsubscribed User
17,284 PointsMight want to try Sublime Text. I use it and really like it, Sublime also seems to be a popular choice around here as well.
Unsubscribed User
17,284 PointsDepending on which text editor you use all you have to do is change the color scheme. Play around with different color schemes to find one that you like. Make sure you save the file as .html so the editor recognizes the file type. If it's not saved or opened as an .html file it will display as plain text or all white.
Kris Phelps
7,609 PointsIt is a feature of the text editor he is using. If you are using a Windows machine, an excellent text editor is Notepad++, which is free.
When editing HTML in Notepad++, make sure you go to Languages > H > HTML and it will automatically start to recognize the things you're typing in such as HTML tags and colorize them in a very helpful manner. Additionally, if you click on an opening HTML tag, it will highlight its closing tag so you can see where the opening and closing tags are.
It also works with a number of other languages that Treehouse teaches. :-)
Andrew Wade
647 PointsThanks Kris.
I'm working on a Mac so Notepad++ isn't available.
I'm thinking text wrangler may be my best bet https://itunes.apple.com/gb/app/textwrangler/id404010395?mt=12
Kris Phelps
7,609 PointsThat seems like a nice option. If that doesn't work out for you, and you're OK paying for tools, other's that might work are Sublime Text (paid) and Ultra Edit (paid). Sublime Text has a very generous trial period before you buy (if I recall properly).
Andrew Wade
647 PointsSpot on. Thank you for your help—appreciated.
Andy
Ben Grieve
5,105 PointsBen Grieve
5,105 PointsSublime Text has some great colour schemes.