Complete the code to make the container use Flexbox layout.
.container {
display: [1];
}The display: flex; property makes the container use Flexbox layout.
Complete the code to make the container use Grid layout.
.container {
display: [1];
}The display: grid; property makes the container use Grid layout.
Fix the error in the code to create a 3-column grid layout.
.container {
display: grid;
grid-template-columns: repeat([1], 1fr);
}The repeat(3, 1fr) creates 3 equal columns in the grid.
Fill both blanks to create a flex container that centers items horizontally and vertically.
.container {
display: [1];
justify-content: [2];
align-items: center;
}display: grid; instead of flexbox.justify-content: space-between; which spreads items apart.Use display: flex; to create a flex container and justify-content: center; to center items horizontally.
Fill all three blanks to create a grid container with 2 rows and 3 columns.
.container {
display: [1];
grid-template-columns: repeat([2], 1fr);
grid-template-rows: repeat([3], 100px);
}display: flex; instead of grid.Use display: grid; to create a grid container with 3 columns and 2 rows.
