Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This CSS Grid container worksheet is part of the HTML and CSS Journey journey. Print it as a booklet?
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1.container { display: grid; } | ASets a uniform 20-pixel spacing channel between rows and columns. | |
| 2.container { gap: 20px; } | B.container { grid-template-rows: 100px auto; } | |
| 3Creates three parallel vertical columns of equal width distributions. | CUsing box-grid instead of the valid standard grid keyword value. | |
| 4Establishes a horizontal structural framework with two rows. | DUsing commas instead of spaces to separate distinct track sizing elements. | |
| 5.container { grid-template-columns: 1fr, 1fr; } | E.container { grid-template-columns: repeat(3, 1fr); } | |
| 6.container { display: box-grid; } | FTurns an element into a block-level grid container interface. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
display: grid — Defines an element as a grid container and establishes a new grid formatting context for its direct children..wrapper {
display: grid;
}.container {
display: grid;
grid-template-columns: 200px 1fr;
}.board {
display: grid;
grid-template-rows: 100px auto;
}.gallery {
display: grid;
gap: 15px;
}.layout {
display: grid;
grid-template-columns: repeat(3, 1fr);
}