Learn CSS Variables by Building a City Skyline - Step 78

Error message:
You should not alter the first repeating-linear-gradient I couldnt understand what went wrong.


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.

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

Your browser information:

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

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

Link to the challenge:

your brackets are not correct.

The overall template to follow is


I used stars here to represent the code that would go inside the brackets
The main point here is, the top gradient must be properly closed before you have the comma added to it
(check your work for this issue)

1 Like

yes, i understand, Thank you for the help, I corrected now

1 Like

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