Learn CSS Variables by Building a City Skyline - Step 104

Tell us what’s happening:

I can not get it to pass. I have tried all versions from previous solutions.
-I have removed the background-color/ added it back
-I have added the var to the transparents/removed them
-I have combined the percentages/separated them

not sure what else there is

this is my error message:
You should give .fb5 a background property.

Your code so far

.fb5 {
  width: 10%;
  height: 33%;
  background-color: var(--building-color2);
  background: repeating-linear-gradient(
    var(--building-color2 5%),
    transparent 5%,
    transparent 10%
  position: relative;
  right: 10%;
**Your browser information:**

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

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

**Link to the challenge:**

Hey! the problem seems to be on this line. That’s not valid syntax for using CSS variables, you need to remove the 5% from inside the brackets and place them outside.

Hope this helps! :smile:

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