Step 40 background: linear-gradient var(variable, varible);

HELP, I have a big problem with

.bb1a {
   background: linear-gradient var(--building-color1, --window-color1);
   width: 70%;
   height: 10%;
}

I don’t get the answer and I’m already desperate please

Hello,
Welcome to the Forums :wave:

Can you post the link to the step?

  • You forgot the opening bracket after linear-gradient
  • In The var(--building-color1 you didn’t close the bracket again
  • You again forgot to use var in the window-color1

I noticed you are using var(--building-color1, --window-color1)
When you use a css variable, you use the the var() separately, example:

var(color1), var(color2)

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