This example demonstrates the common gotcha: forgetting to apply `flex` to the parent container.
Here, the parent `div` does NOT have the `flex` class. Notice how the items stack vertically (default block behavior).
Here, the parent `div` HAS the `flex` class. The items now line up horizontally.
The `flex` class must be applied to the direct parent of the items you want to arrange horizontally. If it's missing, the children will behave according to their default display property (usually `block`, causing them to stack vertically).