Stuck in Hello Sass nesting 5/9


Hi everyone!
<Below this line, add a link to the EXACT exercise that you are stuck at.>
I’m having trouble with the 5/9 exercise in the Sass nesting selectors
When i’m nesting the border in the .banner, the code won’t run and i have an error message:

<In what way does your code behave incorrectly? Include ALL error messages.>
i can see that the word border is written in red in the instructions but i can only write in blue, i don’t know why but i believe it is the cause of the error. Any idea, anyone?
Thank you for your time!


Replace this line with your code.

<do not remove the three backticks above>

It would be much better if you pasted your code, as I can’t really tell if that’s even the right block.

If you aren’t sure on how to post it, please refer to “How Do I Format Code In My Posts?”

Sorry for the late response!

the code block is the following:

.banner {
font-family: ‘Pacifico’, cursive;
height: 400px;
background-image: url(“lemonade.jpg”);
border : {
top: 4px solid black;
bottom: 4px solid black;
the border bit is the code i’m supposed to write in the exercise. but, according to the insctructions, the word bordel in itself shoudl be written in red. In main.scss, it appears in blue when i write it down. i don’t understand why, and i suppose it’s why i can’t run the code.

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