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

spriting-with-compass-review question 2

The second question in the quiz is: "Write a directive that tells Compass to import all .png files in a folder named 'ui'."

I assumed it was supposed to be "@import 'ul/*.png'; but it seems I'm incorrect. I have no idea what the question is looking for.

Stone Preston sorry I clicked on the "Ask" button to see what it did. My bad.

Ooops. I was pressing the L key instead of the i key. This is just a typo on my part. :p

2 Answers

Luke Souter
Luke Souter
10,491 Points

You may have figured this out by now, but for anyone else who gets stuck in order for the answer to be correct the ';' must be removed from the end. Not sure why. So if you write:

@import "ui/*.png"

This will give you the correct answer to the question.

...the ; has already been placed in the question for you, that is the only reason to remove it ^^ :)