I dont know whats wrong here:
When i check the code it says:
Test
Sorry, your code does not pass. Keep trying.
Hint
You should apply a background
to .bb1a
.
**This is my Code**
.bb1a {
width: 70%;
height: 10%;
background-color: var(–building-color1);
background-color:
linear-gradient(
–building-color1,
–window-color2
);
}
Yes, you should apply a background
.
You applied two background-color
.
background
and background-color
are differnt
Hope that helps
I correct my mistake but its still not working:
.bb1a {
width: 70%;
height: 10%;
background-color: var(–building-color1);
background:
linear-gradient(
–building-color1,
–window-color2
);
}
It still says:
background-color: var(–building-color1);
background:
linear-gradient(
–building-color1,
–window-color2
);
}
.bb1b {
width: 80%;
height: 10%;
Test
Sorry, your code does not pass. Hang in there.
Hint
You should apply a background to .bb1a.
hbar1st
September 6, 2022, 1:15pm
4
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
hbar1st
September 6, 2022, 1:16pm
5
Louismmm:
var(—building-color1);
This is how you refer to a variable in css.
Do you think your variable references are correct?
1 Like
hbar1st
September 6, 2022, 1:31pm
7
not sure I understood the last post you wrote.
I was suggesting to you earlier that you must use the var keyword to reference a variable in css…
nevermind i got it thanks for youre help
system
Closed
March 8, 2023, 1:42am
9
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.