TalentJR apps
Flexbox lines boxes up in a row (or a column). Set display to flex on the container. justify-content then decides where the free space goes along the row: flex-start packs the boxes at the start, flex-end at the end, center in the middle with equal space on both sides, and space-between makes equal gaps between boxes with none at the ends. align-items lines boxes up across the row.
✓ You passed this lesson’s test.
Find the free space — “free space = container − boxes; justify-content decides where it goes”
Use it for: Making menus, rows of cards and centred buttons.
Check: 50 + 50 + 50 + 40 = 190 ✓
▶ Watch it animatedWork it out in your head or on paper, type the answer and press Check. Stuck? Press “Show me how”.
Right: 0 · Tried: 0
20 questions. Check each answer, then go to the next one. Get 16 or more right to pass.
🏅 Sign in with Google to earn the 💪 Flexbox Flexer badge when you pass — and a certificate when you finish all 10 lessons of Part 2 · CSS. You can still take the test without signing in.
Why does it work? When should you use it? Ask in English, मराठी or हिंदी.
Sign in with Google to ask Free — 20 questions a day.
Prefer a real teacher? TalentJR teachers take live online classes anywhere in India and visit homes in selected cities. Tell us what you need and our team will call you with timings and fees.