Learn CSS Variables by Building a City Skyline - Step 105

Tell us what’s happening:

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.

background: repeating-linear-gradient(
    90deg,
      var(--building-color2),
      var(--building-color2) 5%,
      transparent 5%,
      transparent 10%
    ),
   repeating-linear-gradient
   (90deg, 
   var(--building-color2),
   var(--building-color2) 12%,
   var(--window-color1) 12%,
   var(--window-color1) 44%
   );
}

why do they keep telling me to add a second linear-gradient while i have already done so?.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

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

Link to the challenge:

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

It looks like you have a few issues.

No.1:
The starting code does not have the 90deg for the first repeating-linear-gradient here
You will need to remove that

N0.2:
You are using the incorrect variable name here

Once you fix those issues, then you will pass

1 Like

corrections applied and i passed. thank you

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