CSS Layout With Flexbox and Grid Quiz

Interactive Quiz ⋅ 11 Questions
By Stephen Gruppetta

In this quiz, you’ll test your understanding of CSS Layout With Flexbox and Grid.

By working through this quiz, you’ll revisit which element a layout belongs on, when to choose flexbox, grid or a float, where a positioned box lands and what ends up in front, how flex items align and shrink, how grid lines and automatic tracks work, and how to center a box.

Most questions show a few lines of CSS and HTML and ask what the browser draws when it applies them. Good luck!

The quiz contains 11 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

Related Resources

A developer slides a card into a grid frame of colorful cards and potted seedlings, flanked by a FLEX row of blocks, a COLUMN stack, and a GAP dial.

Course

CSS Layout With Flexbox and Grid

Lay out a full website with flexbox and grid: a header and nav, a page shell that fills the screen, card grids, a sidebar, and a sticky header, and learn to choose the right tool for each layout.

basics frontend