background: linear-gradient (–building-color1, --window-color1);
I do not know why the above code is not working in this step. It says:
Sorry, your code does not pass. Keep trying.
You should apply a
That is what I have done and do not know what to try next.
It might be because you have to use the var keyword to reference a variable. (Eg of how to do that is in the background-color line you posted above)
The root is as follows:
So are’nt my variables already defined?
Yes they are defined.
I was trying to tell you that you need to use the var keyword just like you did in the previous step.
(Look at the line above the one you wrote to see it being used)
I tried that and it didn’t work
background: linear-gradient (var(–building-color1), var(–window-color1));
Worked it out! Thank you for your help.
Sorry. I forgot I shouldn’t display the solutions here!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.