Learn CSS Variables by Building a City Skyline - Step 104

This is my code. I Think it is correct but I keep getting an error. The hint says " You should give .fb5 a background property." but as you can see there is a background property in my code.

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0

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

Link to the challenge:

Put your code snippet below the ‘background-color’ property:

.fb5 {
  width: 10%;
  height: 33%;
  background-color: var(--building-color2);
  **Your correctly done code goes here**
  position: relative;
  right: 10%;
}

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