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 Unused CSS Stages Flexbox and Multi-Column Layout Flexbox: Part 2

Flex Box

Fill in the blank The "flex-direction" property changes the order of a flex item on the flex line.

Why is it not correct

What is the correct answer, please help as i have no clue

3 Answers

Keith Kelly
Keith Kelly
21,326 Points

I believe they are looking for the "order" property. Flex-direction switches vertical and horizontal.

What about Flec-direction: row-reverse...it wont accept that even

Keith Kelly
Keith Kelly
21,326 Points

I think they are more looking for a property that will allow you to change the order of any element and move it to wherever you like in the row. Row-reverse will simply reverse the order of the items in a row. The order property will allow you to move any item to any position in the row.

I dont think this order property was discussed in the video