Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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