Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:
I am doing what the step says but it keeps bringing me this error message. what should i do?
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.

// running tests You should add a

repeating-linear-gradient

with a first color of

--building-color4

from

0%

to

10%

.

 background: repeating-linear-gradient(
      var(--building-color4) 0%,
      var(--building-color4) 10%,.

Your browser information:

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

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

Link to the challenge:

Hello!

I had to do this twice before realizing what I was doing wrong.

It is important to see if there is any direction needed for the second gradient.

I hope this helps you.

And, please, could you use the help button to provide your full code so the community can respond more directly to your issue? Thank you!

Keep up the great progress! :slight_smile:

it is still not working?

Could you please use the Help that appears after three unsuccessful attempts at any step in Responsive Web Design?
This will allow us to see what the issue may be for you, and guide you to the solution.

You are doing great!

background: repeating-linear-gradient(
90deg,
var(–building-color4),
var(–building-color4) 10%,
var(–window-color4) 10%,
var(–window-color4) 90%
)}
here is my codebut i don`t know whatswrong

If this is the second one, there should not be any direction but it is showing the same as the first one with the 90deg direction. If that is removed, the code should pass for you, I believe.

i have removed it but still getting this message:
You should add a repeating-linear-gradient with a first color of --building-color4 from 0% to 10% .

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