Learn CSS Variables by Building a City Skyline - Step 105

Tell us what’s happening:

It is asking me to add a second -repeating-linear-gradient to the background property; I have done that yet it doesn’t seem to accept the code

Not sure what I’m doing wrong:

“Sorry, your code does not pass. Keep trying.
You should give .fb5 a second repeating-linear-gradient in the background property.”

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

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


    repeating-linear-gradient(
      
    )
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 105

Sorry, I have solved the problem.

2 Likes