Challenge: Flexbox in Action
Task
Complete the provided HTML structure by filling in the missing Tailwind CSS classes according to the layout requirements.
- Parent div: Set the display to flex, and arrange the items in a column;
- Child divs: Center the items horizontally and vertically within the container.
index.html
For the parent div,
- Use
flexto set an element to use Flexbox for its layout; - Use
flex-colto place items in a column; - Use
items-centerto align items to the center; - Use
justify-centerto align items to the center.
index.html
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 4
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 3.57
Challenge: Flexbox in Action
Swipe to show menu
Task
Complete the provided HTML structure by filling in the missing Tailwind CSS classes according to the layout requirements.
- Parent div: Set the display to flex, and arrange the items in a column;
- Child divs: Center the items horizontally and vertically within the container.
index.html
For the parent div,
- Use
flexto set an element to use Flexbox for its layout; - Use
flex-colto place items in a column; - Use
items-centerto align items to the center; - Use
justify-centerto align items to the center.
index.html
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 4