City skylines step 60

Fill in .bb3 with a repeating-linear-gradient . Use 90deg for the direction, your building-color3 for the first two colors, and window-color3 at 15% for the third. When you don’t specify a distance for a color, it will use the values that makes sense. In this case, the first two colors will default to 0% and 7.5% because it starts at 0% , and 7.5% is half of the 15% .

for some reason i can’t tell yet, it doesnt work

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

Hi @ erick.castara, and welcome to the forum.

I think you should double-check your CSS variable names.

If you can’t spot any mistakes, please post a link to the challenge as well as your full code, with 3 back-ticks before and after your code to format it.
You can also format your code using the </> “preformatted text” button.

For future reference - when you want to post a question in the forum, you can do that by clicking the Ask for Help button located on the challenge.
That will create a new topic with all your code and it also includes a link to the challenge.
You’ll still be able to ask your question in the post before submitting it to the forum.

1 Like

thanks you so much, ill repost this following your instructions

I was stuck on this questions for a bit too.
Spacing is very important on this question. Have a look at your direction and adjust the spacing.

Hi @erick.castara your variables need to have two dashes and not one,
You have this for example:
var(–building-color3)

While you should have this instead:
var(-–building-color3)

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