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

CSS CSS Basics (2014) Enhancing the Design With CSS Media Queries

What am I doing wrong?

asking if entered the correct information I believe so

Would help if you added your code/info to the question so others can try to help! : )

Hi Brandy,

What did you enter as your answer?

All the best,

Ede

1 Answer

Aaron Loften
Aaron Loften
12,864 Points

Hey Brandy :)

Without any code or screenshots, it is a little hard to debug. However....if I had a random guess.....my first media query had a semicolon after the conditions, which broke the media query.

eg: [The "max-width: 1024px" has a semicolon behind it, which is wrong.]

@media (max-width: 1024px;) {
  .primary-content{
    width: 90%;
  }
}

correct eg:

@media (max-width: 1024px) {
  .primary-content{
    width: 90%;
  }
}

Again...this is a random guess. I hope it helps.