Boxes, Type, and Visual Design With CSS Quiz

Interactive Quiz ⋅ 12 Questions
By Stephen Gruppetta

In this quiz, you’ll test your understanding of Boxes, Type, and Visual Design With CSS.

By working through this quiz, you’ll revisit how wide a box really is, how margins collapse, when a percentage height works, how to hide content and fix a sideways scrollbar, which font and line height text ends up with, and which rule wins across cascade layers.

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

The quiz contains 12 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 turns a dial on a machine whose nested frames labeled MARGIN, BORDER and PADDING hold a garden photo, between consoles labeled FONT and @LAYER.

Course

Boxes, Type, and Visual Design With CSS

Control the size and spacing of every box, set readable typography, and give a garden's website a consistent design from a tidy stylesheet.

basics frontend