Complete the code to define a grid container with three columns.
display: grid;
grid-template-columns: [1];The grid-template-columns property defines the number and size of columns. Using 1fr 1fr 1fr creates three equal columns.
Complete the code to define grid template areas with a header and main content side by side.
grid-template-areas: "header [1]";
The grid-template-areas property names areas in the grid. To place header and main side by side, use "header main".
Fix the error in the grid-template-areas definition to create a header spanning two columns.
grid-template-areas: "header header" "[1] content";
The second row should have two different areas. Using sidebar and content is correct. header repeated again would cause an error.
Fill both blanks to create a grid with header spanning all columns and footer below spanning all columns.
grid-template-areas: "[1] [1] [1]" "main main sidebar" "[2] [2] [2]";
The header and footer should each span all three columns, so their names repeat three times in their rows.
Fill all three blanks to create a grid with a header spanning two columns, a sidebar on the left, and content on the right.
grid-template-areas: "[1] [1] [2]" "[3] [3] [2]";
The header spans the first two columns in the first row. The sidebar spans the first two columns in the second row. The content is in the third column for both rows.