HTML/CSS · Module 7
Answers and explanations · Build an event grid
Compare these references after your own attempt. You can read them at any time; they do not record a live model or vendor run.
HTML/CSS · Module 7
Compare these references after your own attempt. You can read them at any time; they do not record a live model or vendor run.
Compare the reasoning, not just the final appearance. Other correct solutions can satisfy the same requirements.
There are two gaps, totaling 48px. The tracks share 720 − 48 = 672px, so each is 224px. Three gaps would incorrectly count an outer gap that Grid does not add.
With normal row-wise auto placement, the fourth article starts the second row in the first column. Reading order remains the same as source order. No nth-child positioning is required.
The section’s heading, paragraph, and event-grid div would become its grid items. The event articles remain inside their own wrapper, so the expected three-card layout would not appear. Apply the layout to .event-grid. Choose the container according to the relationship you intend to arrange.