Learn CSS Variables by Building a City Skyline - Step 112

Tell us what’s happening:
I’ve tried this over and over again and reset the lesson over and over again. What am I doing wrong?

Your code so far

.sky {
  background: radial-gradient (
    #ffcf33 0%,
    #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/108.0.0.0 Safari/537.36

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

Link to the challenge:

1 Like

Delete the comma after the last color, set to 100%.

still not working after removing the comma after 100%. is there anything else i can do?

You should give .sky a radial-gradientin thebackground` property.
This is my hint that i keep receiving

the problem is you are not treating radial-gradient like a function
That is, you must erase the space between it and the bracket next to it.

thank you, that worked

1 Like

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