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

HTML How to Make a Website Responsive Web Design and Testing Adding Breakpoints for Devices

Michael Welsh
seal-mask
.a{fill-rule:evenodd;}techdegree
Michael Welsh
Front End Web Development Techdegree Student 9,248 Points

text editor not recodnizing @media screen as a selector

I am using Notepad++ and it doesn't seem to recognize @media screen as a valid selector. The text just appears as black. I would post the code, but its literally just the @media screen and (min-width:450px) {}. Text remains black.

Hi Michael,

What have you put inside the declaration block?

@media screen and (min-width:450px) {

}

Cheers,

Ede

Michael Welsh
seal-mask
.a{fill-rule:evenodd;}techdegree
Michael Welsh
Front End Web Development Techdegree Student 9,248 Points

Alright, so I added the background selector and changed the color and everything seems to be working fine. I got thrown off by the lack of color change. Lesson learned. Dig deeper next time. THANKS!

No problem! Glad you got it sorted,

Ede