🎙 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 7 of 10

Your flex row of course cards overflows on a phone. Which property lets the cards move to the next line?

Your flex row of course cards overflows on a phone. Which property lets the cards move to the next line?

  1. A.gap
  2. B.align-items: center
  3. C.flex-wrap: wrap
  4. D.position: absolute
Answer & explanation

Correct answer: flex-wrap: wrap

By default flex items stay on one line; wrap lets them flow onto new lines.

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 →