Lesson 9 of 10

📱 Responsive Design

🎯 Grades 6–8 ⏱ ~35 minutes 🟡 Intermediate

What You'll Learn

  • What responsive design is and why mobile matters
  • How CSS media queries change layout at different screen sizes
  • Mobile-first design and the viewport meta tag
Quick Check

1. What is the purpose of the viewport meta tag?

ATo speed up the page
BTo tell mobile browsers to use the device width instead of zooming out
CTo add a responsive grid

2. A media query with min-width: 768px applies styles when:

AThe screen is smaller than 768px
BThe screen is at least 768px wide
CThe screen is exactly 768px

3. What does "mobile-first" mean in web design?

ABuild the desktop version first
BStart with styles for small screens, then enhance for larger screens
COnly support mobile devices

4. Which CSS unit is best for responsive font sizes?

Apx (fixed pixels)
Brem (relative to root font size)
Cpt (points, used for print)