Learn CSS Variables by Building a City Skyline - Step 112

i’m stuck here
.sky{
background: radial-gradient(
#ffcf33 0% 20%,
#ffff6 21%,
#bbeeff 100%
);

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/103.0.0.0 Safari/537.36

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

Link to the challenge:

You need to put that first color on two separate lines @Oloyetemitope.

#ffcf33,
#ffcf33 20%

like this?
.sky{
background: radial-gradient(
#ffcf33,
#ffcf33 20%,
#ffff6 21%,
#bbeeff 100%
);
}

Yes @Oloyetemitope, did it work?

no id didnt wrk
.sky{
background: radial-gradient(
#ffcf33,
#ffcf33 20%,
#ffff6 21%,
#bbeeff 100%
);
}

the third color is missing a character

am so grateful it works better now… tnk u

save me out here please

.sky {
background: radial-gradient(15% 15% closet-corner,
#ffcf33,
#ffcf33 20%,
#ffff66 21%,
#bbeeff 100%,
circle closest-corner at 15% 15%
);
}

Here’s an example:

.sky {
  background: radial-gradient(
      <direction and location etc. here>,
      #ffcf33,
      #ffcf33 20%,
      #ffff66 21%,
      #bbeeff 100%
    );
}

.sky {
background: radial-gradient(
closest-corner 15% 15%,
#ffcf33,
#ffcf33 20%,
#ffff66 21%,
#bbeeff 100%,
);

i tried this too
.sky {
background: radial-gradient(
circle closest-corner at 15% 15%,
#ffcf33,
#ffcf33 20%,
#ffff66 21%,
#bbeeff 100%,
);

You have an extra comma at the end of the last color - you can’t have a comma there.

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