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