HTML/CSS Building a Magazine Step 77

dont think i’ve done this right as it keeps saying
You should have a new @media rule for only screen and (max-width: 720px)
can anyone have a look for me and direct me in the right direction please?

Your code so far

@media only screen (max-width: 720px)


.image-wrapper {
  grid-template-columns: 1fr;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Step 77

Link to the challenge:

3 Likes

Two things:

  • Look at the hint you are getting very closely. It is telling you what your media query selector should look like. You are missing a word.
  • Your media query needs to use curly braces just like any other CSS ruleset does.
2 Likes

is it meant to look like this @media (only screen and)(max-width: 720px)?

1 Like

Why did you add parens? I don’t think the hint is telling you to add them.

1 Like

haven’t added them was just enquiring if that was how it was mean to be. sorry pretty new to this.

3 Likes

For anyone wondering about the solution. I don’t want to share solution but this one was a pretty hard one! I wouldn’t be able to solve it without Rsharvey91 's help! Your media code should look like this:

Mod Edit: SOLUTION REMOVED

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

very easy:

Mad Edit: SOLUTION REMOVED

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

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