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 trialPresian Nenov
3,872 PointsWhen previewing the workspace I can see that my scss isn't working (SOLVED)
I'm following along with Guil and writing everything the same way, here is my code:
// =========================================
// Color Functions
// =========================================
// Variables
$base: #3acec2;
$base-dark: darken($base, 25%);
$base-light: lighten($base, 25%);
// Header
header {
background-color: $base;
h1 {
}
p {
color: $base-dark;
}
}
// Nav
.main-nav a {
color: $base-light;
}
// Button
.btn {
&:hover {
}
}
But when I preview the workspace it's still the same, plain text with white background, no updates.
1 Answer
Presian Nenov
3,872 PointsI had actually just forgotten to do the sass --watch scss:css command when forking the workspace, that's why nothing was changing.