Learn CSS Variables by Building a City Skyline - Step 105

Hello everyone,

I’m working on a CSS code for class .fb5, and I’ve received feedback stating, “You should give .fb5 a second repeating-linear-gradient in the background property.” I’m having trouble identifying where I’ve gone wrong in my code.

I’ve attempted to add a second repeating-linear-gradient within the background property, but it seems there’s an issue I can’t spot. Can someone please help me understand what I’m missing or guide me in the right direction?

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

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 OPR/

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 105


Just looking at the code, I am thinking there should be two more color stops added like in the first one.

Usually color stops start at 0
Second stop
third stop
Final stop.

I see the second and final stops. The first and third are not present.
0% to 12% and window color 12% to 44%. This will make a bunch of rectangle windows.
I hope this helps you.

1 Like

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