🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.justify-content: space-between
  2. B.align-items: space-between
  3. C.flex-wrap: space
  4. 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 →