Skip to content
Guest
Learn CSS · Course Syllabus Show lessons
Capstone Project · 12 min read · Beginner

Mini Project: Responsive Learning Dashboard

Combine CSS Grid, Flexbox, sticky navigation, and fluid spacing to build a polished course dashboard layout.

What you'll learn

  • Use CSS Grid for the outer sidebar + main shell
  • Use Flexbox for the top header and metric pill rows
  • Use auto-fit Grid for responsive course progress cards

In real production websites, you rarely use only Flexbox or only Grid, you combine them. Use Grid for macro page regions and card grids, and Flexbox for alignment inside headers, buttons, and small rows.

Try It Yourself: Course Dashboard

Experiment with the grid column widths, change the accent color, or add a fourth stat card:

CSS Capstone: Student Dashboard
Live Result

CSS Layout Final Check

Score: 0 / 2

1. Which layout tool is best for a top navigation bar with a logo on the left and action buttons on the right?

2. Which Grid rule creates responsive cards that automatically wrap to fit available width without media queries?

Auto-Graded Capstone Challenge

Style the .navbar with Flexbox and .cards with CSS Grid so all 4 automated layout tests pass!

CSS Capstone Challenge: Flexbox Header + Grid Cards

0 / 4 tests passing

Make .navbar a horizontal Flexbox bar with space-between alignment, and turn .cards into a CSS Grid with a visible gap.

Live Output
Automated Requirements Check
  • .navbar uses display: flex
  • .navbar uses justify-content: space-between
  • .cards uses display: grid
  • .cards sets a non-zero gap (e.g. gap: 12px)
Study Workspace

Finished this lesson?

Your progress is saved locally in your browser, no account needed.

Search courses, lessons, and references

Type to search across all courses, lessons, and quick references.

Press Esc to close Powered by Pagefind