Skyline project step 60

Skyline project

in the class .bb3 set the background to `repeating-linear-gradient. Use 90deg for the direction, your building-color3 for the first two colors, and window-color3 at 15% for the third.

.bb3 {
   background: repeating-linear-gradient(
     90deg,
      var(--building-color3),
      var(--building-color3),
      var(--window-color3) 15%
    );
  width:10%;
  height: 55%;
  background-color: var(--building-color3);
}

the solution i provided seems to be wrong, however i checked the use of the variable and placing the direction and gradient type and all seems okay. I need another set of eyes. Could some one please assist me.

Welcome to the forum @alsongadizo

Please place the background property and values below the background-colors.

The tests are sometimes specific about the order of code.

Happy coding

1 Like

thanks really helpfull will be doing the same thing for the rest of the tests.

2 Likes