Introduction
Welcome to the CSS Layout Basics lab! In this hands-on session, you will explore the fundamentals of CSS Flexbox, a powerful layout model that provides an efficient way to arrange, align, and distribute space among items in a container.
Throughout this lab, you will work with a pre-configured HTML file (index.html) and a CSS file (style.css). Your task will be to modify the style.css file to manipulate the layout of elements on the page. You can see your changes in real-time by switching to the Web 8080 tab in the lab environment.
You will learn how to:
- Initialize a flex container.
- Align items along the main axis using
justify-content. - Align items along the cross axis using
align-items. - Change the layout direction with
flex-direction. - Allow items to wrap onto multiple lines using
flex-wrap.
Let's get started!






