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 Spriting with Compass Spriting with Compass Review

José Manuel Martínez López
José Manuel Martínez López
18,133 Points

Can someone tell me if there´s an error in this exam because according to the video i should have the correct answer.

Write a directive that tells Compass to include all the "ui" sprite images in our project. My answer is @include all-icons-sprites;

1 Answer

Joseph Kato
Joseph Kato
35,340 Points

I believe the issue is that the video dealt with sprite images from a folder named "icons," whereas the quiz is dealing with a folder named "ui."

This should do it:

@include all-ui-sprites;
Gemma Weirs
Gemma Weirs
15,054 Points

That didn't work for me. :(

Joseph Kato
Joseph Kato
35,340 Points

Hmm, I just did the quiz again and it worked.

Is it possible that you entered two semicolons? Both the quiz and my above answer include ending semicolons.

Gemma Weirs
Gemma Weirs
15,054 Points

Just tried again and it worked. I hadn't realised I needed to leave off the ; at the end. I really wish the font wasn't in a light grey, it makes it hard to read.