Learn CSS Variables by Building a City Skylin

Step 51

Gradient transitions often gradually change from one color to another. You can make the change a solid line like this:

linear-gradient(
  var(--first-color) 0%,
  var(--first-color) 40%,
  var(--second-color) 40%,
  var(--second-color) 80%
);

Add a linear-gradient to .bb2b that uses --building-color2 from 0% to 6% and --window-color2 from 6% to 9% .

Here is my code:
.bb2b {

width: 100%;

height: 100%;

background: linear-gradient( var(–building-color2) 0%,

                         var(--building-color2) 6%,

                         var(--window-color2) 6%,

                         var(--window-color2) 9%,

);

}
I am not sure why the message why I submit the code is reading:

Test

Sorry, your code does not pass. Keep trying.

Hint

.bb2b should have a linear-gradient transitioning from --building-color2 at 0% to 6% , and --window-color2 at 6% to 9% .

Can someone please help with this.
Thank you
Kevin

Your code so far

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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 51

Link to the challenge:

first variable… only have 1 dash… should use 2
and u have extra comma on ur last variable