Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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 ?