Unexpected token issue, scss variables


#1



https://www.codecademy.com/en/courses/learn-sass/projects/refactor-scss


keep getting unexpected token, dont use ids in selectors.
Still waiting on advisors to answer, they just keep saying "I want to provide you with the best possible answer to this particular question, so I’m going to locate another Advisor who specializes in this type of coding. "



#2

Compiling your scss file (with ruby gem sass) produces the error message:

Error: Undefined variable: "$white".
        on line 4 of style.scss

Go have a look at that line and consider if that variable has been defined when that is used


#3

still not sure i understand you.
"At the top of the style.scss file, create a variable for every Hex value. Reference these variables where the Hex values used to appear."

is there a certain way to name the hex values?


#4

You use a variable before having created it


#5

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