Css flexbox step 20

Tell us what’s happening:
Describe your issue in detail here.
im having trouble with setting a @media querry and would appreciate any help:)

   **Your code so far**

/* file: styles.css */
@media (max-width: 800px)  #gallery img } { 
width: 50%;

   **Your browser information:**

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

Challenge: Step 20

Link to the challenge:

You are having an issue with your curly braces ({). If you use good formatting it may help you see these things.

As an example, if I wanted to change the color attribute for class “warning” when width is min 500px, I might do:

@media (max-width: 800px) { 
  .warning { 
    color: "red";

Notice the hierarchy and how it is related to the curly braces.


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