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 trial

CSS Compass Basics Compass Layout and Typography Compass Typography

Craig Burgess
Craig Burgess
27,209 Points

Compass typography code challenge

Part 1 of the challenge says to import the Compass typography module, upon inputting "@import "compass/typography"" and attempting to continue it says Invalid CSS after "// Variables": expected selector or at-rule, was "$base-font-size..." even though this was already here at the start of the challenge

1 Answer

Craig Burgess
Craig Burgess
27,209 Points

nevermind i got it, missed out a ";"

Mark McGuinness
Mark McGuinness
Courses Plus Student 26,312 Points

Hey Craig, did you managed to complete this code challenge, as I can't get past task 2. I think there maybe a bug with it as is pre-populate with the variables at the start which stops task 1 form working unless you delete them. How'd you get on ?