Skip to content
WebDev Path
Back

Week 4: Responsive design and deployment

Next video

Free lesson by Kevin Powell on YouTube

About this lesson

Module:
Foundations
Time:
about 11 hours
Video:
23 min

Make every page work from a small phone to a wide monitor, then put it online.

By the end of this week you can

  • Design mobile first and add breakpoints with media queries
  • Use fluid images and relative units
  • Deploy a static site to GitHub Pages or Vercel

Learn

  • Mobile-first CSS
  • Media queries and breakpoints
  • Responsive images
  • Deploying a static site

Read or watch

Practice

  1. Make 2 layouts work from 360 px to 1440 px wide
  2. Run Lighthouse and fix 3 issues it reports

Build

Finish and deploy Project 1: a responsive landing page.

Check your understanding

Score 4 out of 5 to complete this week.

  1. 1. What does a mobile-first stylesheet start with?
  2. 2. Why add <meta name="viewport" content="width=device-width, initial-scale=1">?
  3. 3. Which unit scales with the user's chosen font size?
  4. 4. What makes an image never overflow its container?
  5. 5. Which Lighthouse category checks contrast, labels and alt text?
0 of 5 answered