Variables


#1

https://www.codecademy.com/courses/learn-sass/lessons/hello-sass/exercises/variables?action=lesson_resume
the question is
1.
At the top of main.scss, create a new variable:

$translucent-white: rgba(255,255,255,0.3);
Reference that variable as the value for the background-color property inside the .slogan selector:

background-color: $translucent-white;
the answer i write is

  .slogan {
  	position: absolute;
  	border: 4px solid black;
  	top: 200px;
  	left: 25%;
  	width: 50%;
  	height: 200px;
   background-color: $translucent-white: rgba(255,255,255,0.3);
tell me what's wrong.

#2

You need to add this at the top of your SASS file and to reference it you just add $translucent-white


#3

thanks i understand now


#4

do you have skype i want to contact you


#5

Glad you understand!


Sorry I wouldn't wish to talk via skype, you can ask questions here on the forum or PM me ...


#6