Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:
Can someone help me out with this one?

.fb1c {
  width: 100%;
  height: 80%;
  background: repeating-linear-gradient(
    90deg,
      var(--building-color4),
      var(--building-color4) 10%,
      transparent 10%,
      transparent 15%
  ),
  repeating-linear-gradient(
    90deg,
      var(--building-color4),
      var(--building-color4) 10%,
      var(--window-color4) 10%,
      var(--window-color4) 90%
  );

My task is to add the second gradient, but my code does not pass and I’m told the following as a ‘‘hint’’:
You should add a repeating-linear-gradient with a first color of --building-color4 from 0% to 10% .

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

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

Link to the challenge:

1 Like

Do you have a }

I don’t see one

I didn’t, although adding one hasn’t fixed the problem unfortunately. I still get the same ‘‘hint’’.

1 Like

What is your updated code?

I’m not sure that the 90deg is part of the instructions?

There we go, that’s the one! Needed 2 pair of eyes to spot that one.
Thank you :slight_smile:

2 Likes