Stuck at SASS step 8


#1

https://www.codecademy.com/en/courses/learn-sass/lessons/hello-sass/exercises/maps-and-lists?user_id=57beafda836966ec1d000185

Hey all, I can't complete step 8 of learning SASS. 2 advisers could not find the problem. Anyone else can help me?


@import url(https://fonts.googleapis.com/css?family=Pacifico);

$standard-border: 4px solid black;
$translucent-white: rgba(255,255,255,0.3);
$icon-square-length: 300px;

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

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

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


#2

Can you tell me what error you are getting


#3

""Did you add a border of 4px solid inside a variable to .slogan, and to .banner top and bottom borders?""

Ow sorry, forgot to mention that! :slight_smile:


#4

Is your browsers zoom set to 100% ?


#5

Yes, I don't quite understand what's wrong!


#6

I know this is not correct but because you are stuck try changing back to normal CSS and see if it works


#7

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