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 trialJesna Imbiraishe Mamina
5,506 PointsHelp Please on the sass basics declare and use variables code chalenge
Use the "color-brand" .........challenge task 2of 4
$color-brand:#6a5acd
2 Answers
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsYou'll need a semicolon at the end of your first line for the next part to work:
$color-brand: #6a5acd;
h1 {
color: $color-brand;
}
Jesna Imbiraishe Mamina
5,506 Points.banner { padding: 1em; background-color: lightgrey; .button{ font-size:1.5em; }
} .icn{ font-size:1.25em; .icn-success{ color:green; }
i need to nest the .icn-success with an ampersand
Jesna Imbiraishe Mamina
5,506 PointsJesna Imbiraishe Mamina
5,506 PointsThank you Brendan it worked!While we are at it Im also having trouble with nesting selectors with an ampersand its not working
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsBrendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsCan you post the code where you're having an issue?