How is this not correct? Step 112 City Skyline

I am at step 112 , here are the instructions:

" Give the sky class a radial-gradient . Use #ffcf33 from 0% to 20% , #ffff66 at 21% , and #bbeeff at 100% . This will add circular gradient to the background that will be your sun."

Here is my code:

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

The error message says " You should give .sky a radial-gradient in the background property.". WTF?! I DID!!! Literally the same way I did every other gradient in this course. I don’t see the error, I’ve tried everything. Please help!

User Agent is: OPR/85.0.4341.75

Challenge: Step 112

Link to the challenge:

1 Like

It works without space in between radial-gradient and (

4 Likes

Thank you very much!

1 Like

mine is not working that way

here is my code
sky{
background: radial-gradient(
#ffcf33 10%,
#ffcf33 20%,
#ffff6 21%,
#bbeeff 100%
);
}

My code:

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

I’m having problems with this step too. I can’t figure what is wrong, i tried anything that i could think of.

Your first percentage should be 0% and not 10%.

1 Like

Thank u so much. I was blind :rofl:

1 Like

Don’t feel bad. I spend a good hour or more staring at my navbar in one of the sections the other night wondering why it wasn’t working. I forgot to give it some text. :laughing:

1 Like

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