Free Lessons

Learn CSS Grid step by step

Guided lessons, hands-on examples and real layout challenges. Choose your language and follow a structured path.

Pure CSS
Tailwind
JavaScript
SCSS
No experience needed No signup Free forever

Choose your coding path

All four paths teach the same CSS Grid concepts, using different ways of writing the code, known as syntax. Start with Pure CSS if you are new.

Tailwind

Tailwind Path

Learn CSS Grid using Tailwind CSS classes.

9 lessons • Some CSS needed
Start Tailwind path →
JavaScript

JavaScript Path

Learn how to create and control grid layouts with JavaScript.

9 lessons • JS basics needed
Start JS path →
SCSS

SCSS Path

Grid with Sass mixins and variables.

9 lessons • CSS confidence needed
Start SCSS path →

From zero to confident with CSS Grid

Each lesson builds on the last. You will understand what each property does, not just copy code.

  • How display: grid works and when to use it
  • Columns and rows with grid-template
  • Using the fr unit to create flexible columns and rows
  • Grid gaps, alignment and justification
  • Placing and spanning items across cells
  • Organising larger layouts with named grid areas
  • Auto-fill and auto-fit for responsive grids
  • Build real layouts such as webpages, dashboards and card grids
  • Fixing mistakes with Grid Detective challenges
1
What is CSS Grid?
2
Columns and Rows
3
The fr Unit: Flexible Column Sizing
4
Grid Gaps
5
Alignment and Justification
6
Spanning Items
7
Named Grid Areas
8
Auto-fill and Auto-fit
9
Grid Detective Challenge
Learn Css Grid Detective

Stuck on a layout? Try Grid Detective

Paste your CSS, Tailwind, JavaScript or SCSS and Grid Detective checks for common mistakes.

Ready to start learning?

Pick a language path above and build your first grid layout today.

Choose your learning path Try Grid Detective CSS Grid Generator