Learn CSS Variables by Building a City Skyline - Step 60

Hint: You should use 90deg for the direction in the first argument of repeating-linear-gradient.

my code
**.bb3 {
width: 10%;
height: 55%;
background-color: var(–building-color3);
background: repeating-linear-gradient (var (–building-color3)90deg,
var(–building-color3)90deg ,
var(–window-color3) 15%
);
}
**
how do i add this gradient , because i just did
bro help out

1 Like

Please provide a link to the exercise.

greetings!
here it is

Thanks. The exercise has given some sample syntax for you to follow:


gradient-type(
  direction,
  color1,
  color2
);

Notice there is only one line for “direction” and it is all alone. Try to make your code look like that.

1 Like

hahaha
how do yo guys read in between the lines and fish out this silly mistakes
thanks though!

1 Like

Because when I learned to code the internet was not so available, I had to rely on myself to find my bugs.
You just have to sit there and read everything super carefully and care about every character even the commas, and spaces.
Keep trying!

5 Likes