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 trialZane DeVault
42,332 PointsCompilation Error on the Code Challenge for the 'Getting Started with Compass' Achievement in the Compass Basics course
I can't figure out what I'm doing wrong in this code challenge.
I am getting this error message:
Bummer! Compilation Error! error tmp/workdirs/f9c05a08-7331-4167-8e91-3d7dec81f33d/sass/style.scss (Line 18: Undefined mixin 'single-transition'.)
Here is my code: /* Write your SCSS code below. */
// Imports
// Variables
// Page Styles
body { @import "compass/css3"; $experimental-support-for-svg: true; @include background(linear-gradient(#3d69b5, #1a335e)); }
.main-logo { @include single-transition(transform, .6s); }
Please help,
Zane
1 Answer
Alex Heil
53,547 Pointshi Zane DeVault ,
you're hitting the compilation error because you include compass in your body rule. try to use the import below the comment //imports and the compilation error should be gone.
hope that helps and have a nice day ;)
Zane DeVault
42,332 PointsZane DeVault
42,332 PointsThat fixed it. Thanks Alex!