Cuéntanos qué está pasando:
I can’t get to find the error in my code. " Hint
You should add the bb1-window
class to the .bb1a
element. "
Tu código hasta el momento
<div class="bb1">
<div class="bb1a" class="bb1-window"></div>
<div class="bb1b" class="bb1-window"></div>
<div class="bb1c" class="bb1-window"></div>
<div class="bb1d"></div>
</div>
2 Likes
Please post your code and a link to the challenge. Thanks
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 (').
Add the new bb1-window class to the .bb1a, .bb1b, and .bb1c elements. This will apply the gradient to them.
CSS Syntax
element.class {
css declarations;
}
accordingly
My code is:
.bb1a.bb1-window {
width: 70%;
background-color: var(–building-color1);
}
But I am getting error as
Test: Sorry, your code does not pass. Try again.
Hint: You should add the bb1-window class to the .bb1a element.
You have added in HTML sheet but as per the topic details it should be added in style sheet. but still I am also getting error and stuck there.
You got to add the class value in the same attribute with a space which applies the gradient:
I have no idea what you are talking about, but please don’t necro old topics. If you have a question, please use the Ask For Help button.