Learn CSS Variables by Building a City Skyline - Step 77

Tell us what’s happening:

Your code so far


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/ Safari/537.36 Edg/118.0.2088.76

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 77

We can’t see your code as it was too long to be ported over automatically when the post was created.

You can post your code by using the Preformatted Text tool (</> icon or CTRL+e), which will create two sets of triple backticks. Pasting your code between these will ensure that it displays correctly on the forum.

Sorry, so I’ve been at this for awhile, checking out forums to see what I may be missing.
It keeps asking to add background as repeating-linear-gradient. I am not seeing what I’m missing.

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

Ok, there’s just a couple of tweaks and your code will pass.
Firstly, the first colour you should be using is building-color4 (not building-color).
Secondly, transparent isn’t a variable, so shouldn’t be using the var keyword or the parentheses.

Thank you, I had missed the 4, fixed the transparent, and it passed. Thanks again.