Recall & Review
beginner
What CSS property is used to place a grid item in a specific column and row?
The
grid-column and grid-row properties are used to place a grid item in specific columns and rows.Click to reveal answer
beginner
Explain the syntax of
grid-column: 2 / 4;This means the grid item starts at column line 2 and ends before column line 4, so it spans columns 2 and 3.
Click to reveal answer
beginner
How do you make a grid item span multiple rows?
Use
grid-row with a start and end line, for example grid-row: 1 / 3; makes the item cover rows 1 and 2.Click to reveal answer
intermediate
What does
grid-area property do in grid item placement?grid-area is a shorthand to set grid-row-start, grid-row-end, grid-column-start, and grid-column-end all at once.Click to reveal answer
intermediate
Why is it important to use grid line numbers or names for placement instead of just order?
Using grid lines or names gives precise control over where items appear, making layouts predictable and easier to maintain.
Click to reveal answer
Which CSS property places a grid item starting at column line 3 and ending at column line 5?
✗ Incorrect
grid-column: 3 / 5; means the item starts at column line 3 and ends before column line 5.How do you make a grid item cover rows 2 through 4?
✗ Incorrect
To cover rows 2, 3, and 4, the end line must be 5 because the end line is exclusive.
What does
grid-area: 1 / 2 / 3 / 4; mean?✗ Incorrect
grid-area uses the order: row start / column start / row end / column end.Which is NOT a valid way to place a grid item?
✗ Incorrect
grid-position is not a valid CSS property for grid placement.Why might you use named grid lines for placement?
✗ Incorrect
Named lines help you understand and control layout better by using meaningful names instead of numbers.
Describe how to place a grid item to span from column 2 to 4 and row 1 to 3 using CSS properties.
Think about how to write start and end lines for columns and rows.
You got /4 concepts.
Explain the difference between using
grid-column and grid-area for grid item placement.Consider how many properties each controls.
You got /4 concepts.