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

Development Tools

Devin Monajem
Devin Monajem
3,590 Points

Text Editor Question

Hi again -

I'm using Sublime Text 3 to write my code. I find it easy enough to use and it seems really self-explanatory most of the time. I'm having a bit of trouble, though, and I wondered if anyone else is experiencing the same thing.

I'm on the media queries portion of the "Build a Responsive Website" section. Whenever I try to type in my media query, for some reason, Sublime Text cannot replicate what Allison Grayce is getting in her Sublime Text. The code is as follows:

@media screen and {max-width: 480px;} {


Then you include all of the .grids in the curly braces etc. However, in the video, all of her text lights up and in my editor, none of it does. Which translates into nothing actually taking place in my browser.

That said, when I write the exact same code in notepad++ it works out fine and everything in my web browser reacts accordingly. I like notepad++, but I like Sublime Text more. If anyone has a solution to this problem, I'd love to hear it.

1 Answer

Scott Bargabus
Scott Bargabus
266 Points

I'm just a casual user of Sublime Text, but I do know there's a syntax setting. View->Syntax->CSS (or whatever language the file is written in) will activate the appropriate syntax highlighting.

Devin Monajem
Devin Monajem
3,590 Points

What I wound up having to do, in the end, was go to the Sublime Text forums and actually copy and paste the code from someone else's question. It's a bit of a pain, but until I figure out how to use the text editor a little bit more fluidly, I don't really know what else to do.

Thanks for letting me know about the Syntax view. That was helpful.