Maps&Lists

<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/maps-and-lists?action=lesson_resume

<In what way does your code behave incorrectly? Include ALL error messages.>
In this exercise, I tried to change the border value to a variable wich is $standard-border: 4px solid black;
but it keeps giving me an error. I cannot pass it. Also, I got this message " Did you add a border of 4px solid inside a variable to .slogan, and to .banner top and bottom borders? "
you can see my code here.

```

@import url(https://fonts.googleapis.com/css?family=Pacifico);
//Add variables here:
$translucent-white: rgba(255,255,255,0.3);
$icon-square-length: 300px;
$standard-border: 4px solid black;

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

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

.container {
text-align: center;
font-family: ‘Pacifico’, cursive;
.icon{
display: inline-block;
margin: 2%;
border: $standard-border;
font-size:33px;
width: $icon-square-length;
height: $icon-square-length;
}
}

<do not remove the three backticks above>

insted of this, try ``` border: $standard-border; ````

I tried this code before and is not working

I cannot pass this problem still not working any help please

1 Like

same problem, i dont understand

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