Lesson 6

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-sass/lessons/hello-sass/exercises/variables?action=resume

<In what way does your code behave incorrectly? Include ALL error messages.>
It keeps saying: Did you add a background-color property of .slogan class in main.scss?

```

@import url(https://fonts.googleapis.com/css?family=Pacifico);
//Add variables here:
$translucent-white:
rgba(255,255,255,0.3);

h1 {
font-family: Roboto, sans-serif;
text-align: center;
}

.banner {
border : {
top: 4px solid black;
bottom: 4px solid
black;
}
font-family: ‘Pacifico’, cursive;
height: 400px;
background-image: url(“lemonade.jpg”);
.slogan {
position: absolute;
border: 4px solid black;
top: 200px;
left: 25%;
width: 50%;
height: 200px;
background-color: $translucent-white;
text-align: center;
span {
font-size: 24px;
line-height: 200px;
}

.container .icon{
display: inline-block;
margin: 2%;
border: 4px solid black;
font-size: 32px;
text-align: center;
font-family: ‘Pacifico’, cursive;
}

<do not remove the three backticks above>
1 Like

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