Put in order · HTML and CSS course · Module 8: CSS Grid
Steps to Create a Grid Layout
Arrange the steps for creating a grid layout:
Items to put in order
- Create grid container (display: grid)
- Position elements
- Define columns (grid-template-columns)
- Set spacing (gap)
- Define rows (grid-template-rows)
You can check the correct answer by solving this task in the CodeWorlds game.