Learn CSS Variables by Building a City Skyline - Step 114

Tell us what’s happening: Add an empty media query at the bottom of your stylesheet with a condition of max-width: 1000px . Styles added in here will take effect when the document size is 1000px wide or less.

Your code so far
@media (condition) {

@media (max-width: 1000px) {}
};
i have been trying to get through this step for days now, pls someone should be with right code, thanks…
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: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36

Challenge: Learn CSS Variables by Building a City Skyline - Step 114

Link to the challenge:

Your code is too large to bring over from the challenge. Please use the format button that looks like </> and paste all your code between the lines it gives you. Note that you will use the button once for your html and once for your css

i need help on this step 114, my code couldnt pass

Add an empty media query at the bottom of your stylesheet with a condition of max-width: 1000px . Styles added in here will take effect when the document size is 1000px wide or less.
my code…
@media (condition) {

@media (max-width: 1000px) {}
};

You shouldnt be including the media with the condition. Thats just the challenge showing you how it should be set up and shouldnt be in the actual code

1 Like

Thank you Cody Biggs, i just did what you said and it passed…

1 Like

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