One main idea
Flexbox lays out the direct children of a flex container along a main axis and a cross axis. Set display: flex on the parent, then control how its children share space.
Use it for one-dimensional layout: a row of nav links, buttons in a card, a profile header, or cards that wrap. Use Grid later when you need rows and columns together.
Axes matter
The main axis is the direction items flow. With flex-direction: row, the main axis runs left to right in English pages. With column, it runs top to bottom.