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 trialHemadri Sen
8,621 PointsNext, give .row the flexbox property and value that will make it a multi-line flex container.
I don't understand why my answer is not right:
.row { display: flex; flex-direction: column; }
8 Answers
Conuir Williamson
7,825 PointsThe direction isn't the property you're looking for. Think of multi line text - it 'wraps' ;)
Swapnil Srivastava
13,146 PointsThe correct answer will be .row { display: flex; flex-wrap: wrap; }
Hampton Dunlap
Front End Web Development Techdegree Student 14,308 PointsI just encountered this problem. In hindsight it makes sense, but I think the wording on the question is a little confusing.
Christopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 PointsThis question is not properly worded it's confusing I was also thinking of flex-direction: column;
Richard Targett
4,960 PointsIm not sure what the syntax should be :]\
Conuir Williamson
7,825 PointsThey've got the answer (Y) ;)
Hemadri Sen
8,621 PointsThanks a lot, it worked perfectly.
Dipika Purohit
Courses Plus Student 20,955 Points.row{ display:flex; flex-wrap:wrap; }
Heba Hendy
7,786 Points.row { display:flex; flex-wrap:wrap; }