Coding task · HTML and CSS course · Module 4: Flexbox

Three Columns Side by Side

Flexbox makes it easy to place elements side by side. Just add display: flex to the parent, and its children will automatically line up in a row. It's like stone blocks of a pyramid arranged in a single layer.

Task

Create a container with three div elements and use display: flex to place them side by side in a single row.