CSS, with the layout showing
Forty steps through flexbox, twenty-two builds that fail unless several concepts are right at once, and the famous wtfs underneath — margin collapsing, stacking contexts, and the invisible wall inside every flex item. This is the one subject where the output IS the picture, so every problem is rendered rather than described.
Problems
6 problems in Main axis vs cross axisAll topicsAdvancedAlignmentDistributing spaceGapMain axis vs cross axisMaking a flex containerOrderSizingThe famous WTFsThe min-width:auto floorWrapping and the align-content trap
| # | title | topic | type | difficulty |
|---|---|---|---|---|
| 1 | flex-direction: column swaps which axis is which | Main axis vs cross axis | Teaching step | Easy |
| 2 | Centre the hero card — in a container that runs downwards | Main axis vs cross axis | Build it | Easy |
| 3 | Newest activity at the top, list still hugging the top | Main axis vs cross axis | Build it | Easy |
| 4 | Flip your own chat messages to the right | Main axis vs cross axis | Build it | Easy |
| 5 | Reverse the wizard steps — and keep them on the left | Main axis vs cross axis | Build it | Easy |
| 6 | Drop the chips so they stack up from the floor | Main axis vs cross axis | Build it | Easy |
44 of 87 catalogue topics are authored, with 37 drills rehearsing them. Every one of them is judged: each carries a starter that has been shown to fail, at least two different correct answers that have been shown to pass, and a set of near-misses and cheats that have been shown to be caught. Nothing reaches this list until all of that holds.