Learn CSS Grid by Building a Magazine - Step 79

greeting everyone .
I am stuck on this step it keep giving me this error again and again
// ou should have a new @media query for only screen with a max-width of 550px . This should come after your previous two.//

@media only screen and(max-width:550px) {
  .hero-title{
    font-size: 6rem;
  }
  .hero-subtitle, .author, .quote, .list-title{
    font-size: 1.8rem;
  }
  .social-icons{
    font-size: 2rem;
  }
  .text{
    font-size: 1.6rem;
  }
}
type or paste code here
````Preformatted text`




**Your code so far**

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the line above and the line below,
because they allow your code to properly format in the post.

**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36</code>

**Challenge:**  Learn CSS Grid by Building a Magazine - Step 79

**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-grid-by-building-a-magazine/step-79

you have missed the space in media query - @media only screen and(max-width:550px)

it still didn’t work .

As @Rockky1997 said, there needs to be a space between and and (max-width:550px) . If the tests don’t pass for you even if you do that check if you have any extensions on your browser which might be messing with the tests. If the problem continues, you could either reset the test or try to attempt this challenge on some other browser.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.