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 Build a Three Column Layout

Well, that's all great but how would the average person have known to clear the 4th child?

Just askin

I agree that was a confusing part of the tutorial. It wasn't explained that well.

2 Answers

I can't answer your question as it is asked because I don't know what "average person" means. But I do know that with experience—which includes occasional to frequent frustration—you learn that certain problems can often be solved with a few techniques. Clearing floats is one of these.

And we're no longer "average" when it comes to nth-child properties after watching this video. Learning these things is part of that "experience" thing. Cheers!

Michael McKenna
Michael McKenna
3,451 Points

Simply answering with that quick anecdote would have sufficed; there was no need to try to bring out the philosophical underpinnings of what he meant by "average person". I guarantee you knew what you meant. Anyway, thanks for the reply. I guess it's just one of those things.

Comparatively speaking, I'm a newb on here, but nonetheless may be able to answer this effectively. I believe the reasoning behind how he knew immediately it needed every 4th moved down is because in a 3-column row, if you move the 4th image down (the first image in the 2nd row), the rest of the images in that row will automatically align themselves horizontally with the first image in that row.