← Quiz: Flexbox and Grid: all 10 questions
Quiz: Flexbox and Grid · Question 1 of 10
In a flex row, which property spreads items horizontally with space between them?
In a flex row, which property spreads items horizontally with space between them?
- A.justify-content: space-between
- B.align-items: space-between
- C.flex-wrap: space
- D.gap: between
Answer & explanation
Correct answer: justify-content: space-between
justify-content controls the main axis, which is horizontal in a row.
Can you get the rest right without peeking?
Take the timed Quiz: Flexbox and Grid quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →