Learn CSS Variables by Building a City Skyline - Step 115

Tell us what’s happening:

I have looked all over online and cannot find what is wrong with my code. Please help.

Step 115

Copy and paste your whole sky class along with all of its properties and values into the media query. You are going to make another color scheme for the skyline that changes it from day to night.

Note: You are going to need to scroll past the editable region to copy the class.

Your code so far

@media (max-width 1000px) {
.sky {
background: radial-gradient(
closest-corner circle at 15% 15%,
#ffcf33,
#ffcf33 20%,
#ffff66 21%,
#bbeeff 100%
);
}
}

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.

@media (max-width 1000px) {
  .sky {
  background: radial-gradient(
      closest-corner circle at 15% 15%,
      #ffcf33,
      #ffcf33 20%,
      #ffff66 21%,
      #bbeeff 100%
    );
}
}

Your browser information:

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

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 115

Would you send in all your HTML and CSS please. That makes helping you a whole lot simpler.

there is a syntax error here, after max-width you need to put a colon :

1 Like

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