Flex Basics: Coding lesson for kids

In “Flex Basics”, children learn about display: flex; and flex-direction: column;.

display: flex;: Lines up child boxes in a row by default.

flex-direction: column;: Switches the row to a column instead — boxes stack top to bottom.

This lesson is part of HTML/CSS in Coding at Pearls Valley Academy — Build and style your first web page.

Each lesson starts with a short narrated, animated explanation, then hands-on practice. A wrong answer gets a gentle hint, never a penalty, and children earn stars and pearls as they go.