Why don't my items center when I use justify-content: center?
If the container is not set to display:flex, justify-content has no effect. Also, justify-content works along the main axis, so if flex-direction is column, it centers vertically, not horizontally.
💡 Always set display:flex and check flex-direction to know which axis justify-content affects.
Why is there extra space only on one side when I use justify-content: flex-start?
flex-start aligns items to the start edge, so leftover space stays at the end side of the container.
💡 flex-start means items hug the left (or start) side, space goes to the right (or end).
Why do space-around and space-between look different even though both add space?
space-between puts space only between items, none at edges; space-around adds equal space around each item, so edges get half the space compared to between items.
💡 space-around includes edges with half spacing, space-between does not.