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


The question is asking me to put clear: left; on every 4th list item but there is only 2 list items I don't know what to do.

5 Answers


Roscoe Coney
Roscoe Coney
13,124 Points
  1. Maybe add two more list items
  2. add clear: left on every 2 list items
  3. Re-watch the video pertaining to that question, because you usually just do the same exact process as Nick.
  4. Maybe there is a software error and just re-start the coding questions
Roscoe Coney
Roscoe Coney
13,124 Points

<html> <p background-color: black;></p> </html>

I just tried all of that and it didn't help

Matthew Mascioni
Matthew Mascioni
20,444 Points

Hi Peter,

You're right, it is asking you to clear: left every fourth list item. There is a CSS pseudo selector that can help us accomplish this. You're going to learn it down the road anyway (it's part of the Front-end Web Development track which I believe you're on) and if you haven't already, and it is the :nth-of-type() selector. Guil explains it very well in this video.

After viewing that video, if you still have questions, I'd be happy to help :)