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 CSS Flexbox Layout Building a Layout with Flexbox Building a Navigation Bar with Flexbox

4 Answers

The working layout should look like this :)


You've placed item 2 and 3 outside the container, so you'd need to move them within that as the container is 100% width and causing them not to be inline. You may need to check you don't have ending div tags before the content also. Then with the CSS, just add the following to the item class:

.item { background: #3db5da; border-radius: 3px; color: #fff; display: block; float: left; margin: 1%; padding: 1em; width: 31.333333333% }

Learning coding
Learning coding
Front End Web Development Techdegree Student 9,937 Points

Muchas Gracias, solving these (maybe simple) things are like victory. The column's weren't equal to each other yet, but the first thing that came into mind was "flex-start". :) Yes!

Yeah you've removed the end </div> tags on each item