Lesson 9 of 18

📱 Responsive Design

🎯 Grades 9–12 ⏱ ~35 minutes 🟡 Intermediate

What You'll Learn

  • The viewport meta tag and why it is required for mobile
  • CSS media queries: breakpoints and mobile-first design
  • Responsive images and fluid layouts with relative units
Quick Check

1. What does the viewport meta tag do?

ASets the page title
BTells mobile browsers to use the device's actual width
CLoads CSS for mobile

2. In mobile-first design, which unit is used in media queries?

Amax-width
Bmin-width
Cscreen-width

3. Which CSS rule makes images responsive?

Aimg { width: 100px; }
Bimg { max-width: 100%; height: auto; }
Cimg { display: flex; }

4. What percentage of web traffic comes from mobile?

AAbout 20%
BAbout 40%
COver 60%