Lesson 24 of 29 · Grid & Responsive Design
Quiz: Flexbox, CSS Grid and Responsive Design
You've learned how to lay out pages with CSS: block, inline and inline-block boxes, flexbox for rows and columns (justify-content, align-items, gap, flex-wrap and the flex shorthand), CSS Grid for two-dimensional layouts (fr units, repeat() and spanning), and responsive design with the viewport meta tag, max-width containers and media queries.
Answer these six questions before you face the chapter boss. Read every explanation, even for the questions you get right: each one points out a detail that often trips people up.
What this quiz covers
The questions check what you learned in the Grid & Responsive Design chapter of Learn HTML & CSS. Not sure about a topic? Review its lesson first:
- CSS Grid Tutorial: Columns, fr Units and Gap
Learn CSS Grid layout: display: grid, grid-template-columns with fr units and repeat(), gap, and spanning columns with grid-column. Build a dashboard.
- Responsive Web Design: Media Queries and the Viewport
Make pages work on phones and desktops: the viewport meta tag, CSS media queries with max-width and min-width, rem units and centred containers.
Keep learning
Need a quick reminder? The HTML & CSS cheat sheet has every topic of Learn HTML & CSS on one page.
Lesson last updated on .