Coding task · HTML and CSS course · Module 4: Flexbox
Creating a Flex Container
Flexbox is like the foundation of a pyramid - the flex container is the base, and the elements inside are stones that can be arranged flexibly. To activate Flexbox, simply add the display: flex declaration to the container. Direct children automatically become flex items and line up next to each other in a single row.
Task
Add the display: flex declaration to the .container so that the elements inside line up horizontally next to each other.