Complete the code to make the container a flexbox.
.container {
display: [1];
}Setting display: flex; makes the container a flexbox, enabling flexible layouts.
Complete the code to align items horizontally in the center using flexbox.
.container {
display: flex;
justify-content: [1];
}justify-content: center; centers items horizontally inside a flex container.
Fix the error in the code to make items stack vertically using flexbox.
.container {
display: flex;
flex-direction: [1];
}flex-direction: column; stacks flex items vertically.
Fill both blanks to create a flex container that centers items vertically and horizontally.
.container {
display: [1];
align-items: [2];
justify-content: center;
}Use display: flex; to create a flex container and align-items: center; to center items vertically.
Fill all three blanks to create a flex container with vertical stacking, centered items, and space between them.
.container {
display: [1];
flex-direction: [2];
justify-content: [3];
}Set display: flex; to enable flexbox, flex-direction: column; to stack items vertically, and justify-content: space-between; to spread items evenly.