[stuck] first problem 7/9


#1



https://www.codecademy.com/courses/learn-sass/lessons/hello-sass/exercises/types?action=lesson_resume


There seem to be a common problem with SASS 7/9. My code is correct however it won't let me proceed, nor will it provide me with the GET CODE solution I'm stuck ):


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

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

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

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


#2

I'm exactly the same keep trying it periodically, tried it in other browsers to no avail... also received no response from the powers that be - some people have managed to get through it, not really sure why.


#3

Try to add the variables after the @import url code.

@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;

#5

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