Responsive Design
Build pages that work on every screen: mobile first, the viewport meta, media queries, user preferences, fluid type, responsive media, container queries and logical properties.
People open your page on a 360px phone, a tablet turned sideways, a 1440px laptop and a 4K monitor, with the text zoomed to 200%, in dark mode, or reading Arabic from right to left. Responsive design means one HTML page and one stylesheet that adapt to all of them, instead of a separate "mobile site".
This phase starts with the principles (mobile first, fluid layouts and the viewport <meta> tag), then gives you the tools: media queries for the screen, user preference queries for dark mode, reduced motion and touch screens, clamp() for type and spacing that grow smoothly, CSS for images and video that never overflow, container queries for components that adapt to the space they're given, and logical properties so the same CSS works in left-to-right and right-to-left languages.
It builds on Phase 3 (viewport units, clamp()), Phase 5 (sizing, aspect-ratio), Phase 7 (Flexbox) and Phase 8 (Grid). Every example is live; the preview pane is narrow, so where an example depends on screen width, widen your browser window or open the full-screen editor to watch it change.
Practise this phase
Hands-on exercises: write the code, see your page live, and press Check to have it tested automatically.