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

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 ^^ :)