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 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.