Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEdwin Zhang
3,518 PointsWhy the $time value can not be "morning"?
the right answer is
$time : morning;
Why should write like this not the "morning"?
1 Answer
Rafael Schwemmer
6,109 PointsI struggled with this too. Basically the question is why the value of this variable $time is not surrounded by quotation marks. It seems to be a string and we are used to put strings into quotation marks in pretty much all programming languages I can think of. Should we never use quotation marks for Sass variables? I couldn't find any info on this, for example in the official documentation here: http://sass-lang.com/guide nor in the videos so far.
Christian Lawrence
3,941 PointsChristian Lawrence
3,941 PointsMorning is not a part of CSS, unless it's a font called morning.