ERROR: You should give .fb5
a second repeating-linear-gradient
in the background
property.
.fb5 {
width: 10%;
height: 33%;
background-color: var(--building-color2);
position: relative;
right: 10%;
background: repeating-linear-gradient(
var(--building-color2) 0%,
var(--building-color2) 12%,
transparent 5%,
transparent 10%
),
repeating-linear-gradient(
90deg,
var(--building-color2) 0%,
var(--building-color2) 12%,
var(--window-color2) 12%,
var(--window-color2) 44%
)
}
I’ve edited your code for readability. 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 (').
it looks like there were changes made to the first repeating-linear-gradient here.
drummerboye97:
repeating-linear-gradient(
var(--building-color2) 0%,
var(--building-color2) 12%,
transparent 5%,
transparent 10%
),
I would suggest resetting the lesson and not touching that one.
then you should be able to pass the lesson once you add in your second linear gradient
1 Like
system
Closed
September 11, 2024, 12:15pm
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.