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.

here it is

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


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

1 Like

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!


how you guys done with this? mine is

background: repeating-linear-gradient(
var(–building-color3) 7.5%,
var(–window-color3) 15%

still wont go.

oh I got it already. var(-building-color3 ) shouldn’t have any percentage. lol.

Mod edit: solution redacted

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.