Learn CSS Variables by Building a City Skyline - Step 112

Hi everyone,

I am having the following error massage in a building sky city step 112.

“You should give the radial-gradient a first color of `#ffcf33.”
Below is my code
.sky {
background: radial-gradient(
closest-corner circle at 15% 15%,
#ffcf33 0,
#ffcf33 20%,
#ffff66 21%,
#bbeeff 100%

);

}

Can anyone give me heads up of what could be wrong?

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 (X11; Ubuntu; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0

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

Link to the challenge:

You have to type in radial-gradient four colors:
background: radial-gradient ( first color, second color %, third color %. fourth color % ); }

Thanks for your prompt reply, as you can see on my code all those colors are within radial-gradient()

Delete the text “closest-corner circle at 15% 15%,” and “0” before the first color.

That worked man!

Thank you so much, have a blessed day!

1 Like

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