Flexbox helps arrange items in a container by distributing space and aligning items easily, especially when sizes are dynamic or unknown.
The display: flex; property turns an element into a flex container, enabling flexbox layout for its children.
justify-content: space-between;, what will be the horizontal spacing between three child items?justify-content: space-between; places the first item at the start, the last at the end, and evenly spaces the items in between horizontally.
Flexbox changes how items look on screen but does not change the order in the HTML code, so keyboard navigation follows the HTML order unless you use additional properties.
The selector .container > :nth-child(2) selects the second direct child of .container, which is the second flex item.
