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

HTML How to Make a Website Responsive Web Design and Testing Refactor the Layout

How do I clear a specific list item? The quiz says: "Inside the media query, clear the left side of every 4th list item"

How do I clear: left on a specific list item? The quiz says: "Inside the media query, clear the left side of every 4th list item in the gallery".

4 Answers

Try with the nth-child pseudo-class

Thanks Philip Graf, that worked like a charm!

gallery li:nth-child(3n) {

clear: left;

}

Is it normal to be quizzed on something that wasn't taught in the lesson?

But it was, if you're on the Front End Track they teach about selectors (:

A Little question... I'm wondering every time I see this how it works.. How do you Link to other Profiles on Treehouse?(Like you linked to me)

I think, if you work on a Track, you will know everything you'll be quizzed. But if you only take parts, you should have basic knowledge.

I'm doing the Ruby track, from the beginning to the end. I guess I just missed that part. Maybe there was a squirrel outside. haha! Philip Graf, all you have to do is use the @ sign and then start typing the name of the person... it'll appear and you can select it. That's how you tag someone.

Many thanks! Tried that before but did something wrong...