%Placeholder Sass keeps showing error code even it is correct


#1

<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/en/courses/learn-sass/lessons/sustainable-scss/exercises/placeholders?action=resume

<In what way does your code behave incorrectly? Include ALL error messages.>
Did you extend the absolute placeholder inside of main.scss?
I tried doing the placeholder exercise but every time I tried to do it it keeps saying the error code above.

This was the ones put in the main.scss:

@import url(https://fonts.googleapis.com/css?family=Pacifico); //CSS import
@import "helper/placeholders";
@import "helper/mixins";
@import "helper/variables";

%absolute{
   position: absolute
}

h1 {
  font-family: Roboto, sans-serif;
  @include center;
}

.banner {
  font-family: 'Pacifico', cursive;
  height: 400px;
  background-image: url($lemonade-banner);
  border: {
    top: $border;
    bottom: $border;
  } 

  .slogan {
    @extend %absolute;
    background-color: $translucent-white;
    border: 4px solid black;
    top: 200px;
    left: 25%;
    line-height: 200px;
    @include dimensions(50%, 200px);

    span {
      @extend %absolute;
      @include center;
      width: 40%;
      left: 30%;
    }
  }
}

.container {
  font-family: 'Pacifico', cursive;

  .icon {
    display: inline-block;
    margin: 2%;
    border: $border;
    @include dimensions(300px, 300px);
  }
}
This was what I put in the placeholder.scss ``` %absolute { position: absolute; } ```

#2

I think you pasted in the incorrect course URL please double check and paste in the correct one


#3

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