Learn CSS Variables by Building a City Skyline - Step 117

Tell us what’s happening:
i am stuck anyone please help me…

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: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

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

Link to the challenge:
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-variables-by-building-a-city-skyline/step-117`@media (max-width: 1000px) {
:root {
–building-color-1: #000;
–building-color-2: #000;
–building-color-3: #000;
–building-color-4: #000;
}
}`

Hello there!

It looks the quoted code should not be included. Remove it and I believe you will pass.

Great progress!

It is good to see you were able to make use of the other great guidance within the community! This is why I enjoy the forum so much. People help! :slight_smile:

As I duck out of the forum for a break from being online for a few hours.

Keep up your great progress, and checkout the FCC News category in Learn Menu. There is so much valuable information, and examples within the News Articles.

Looking forward to seeing you get your certification.

the :root has more colors then that

:root {
  --building-color1: #aa80ff;
  --building-color2: #66cc99;
  --building-color3: #cc6699;
  --building-color4: #538cc6;
  --window-color1: #bb99ff;
  --window-color2: #8cd9b3;
  --window-color3: #d98cb3;
  --window-color4: #8cb3d9;
}
and  all of them has to be `#000`     hope this helps....

yeah it did thankyou

1 Like

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