Help fast


#1

VARIABLE IN SASS
https://www.codecademy.com/courses/learn-sass/lessons/hello-sass/exercises/variables?action=lesson_resume

THE exercise is
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;
.slogan {
position: absolute;
border: 4px solid black;
top: 200px;
left: 25%;
width: 50%;
height: 200px;
$translucent-white: rgba(255,255,255,0.3);
}
TELL ME WHAT'S WRONG.


#2

read the instruction carefully.try to figure it out.
instruction:
At the top of main.scss, create a new variable:

$translucent-white: rgba(255,255,255,0.3);

did you do so?

and now after creating reference that variable as the value for the background-color property inside the .slogan selector


#3

thanks alot i understand now


#4

i m very happy for that :slight_smile: happy coding.


#5

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