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

Kate C
Kate C
13,589 Points

Why when main-nav become a flexbox, it is a column aside by main-header? Shouldn't it by default a row?

https://teamtreehouse.com/library/building-a-navigation-bar-with-flexbox#questions referring to this video at 4:08.

In another video around 11:10 https://teamtreehouse.com/library/build-a-responsive-navigation-with-flexbox-2#questions, the main-nav is a row next to header(SVG).

The htmls and css flexboxes are almost the same in both videos, so i don't understand why after setting both main-header and nav flex containers as first step in both videos, one of the nav is a row an another is a column (before flex-direction).