Skip to content
KALANBLON
Show contents

Chapter 7 of 7 · 10 min

Quiz: CSS layout

Box model, Flexbox, Grid and responsive design: last quiz of this course. You need 70 % correct answers to pass it.

Quiz

5 questions · pass mark: 70%

  1. 1.Without box-sizing: border-box, how wide is this box (excluding margins)?

    One answer

    .box { width: 200px; padding: 10px; border: 2px solid; }
  2. 2.In a display: flex container laid out as a row, which property centres the items vertically?

    One answer

  3. 3.Complete the unit that shares the available space between a grid's columns.

    Complete the code

    grid-template-columns: 1__ 2__;
  4. 4.Which practices belong to the mobile-first approach? (several answers)

    Several answers possible

  5. 5.Why must you never write button:focus { outline: none; } without replacing it?

    One answer

Your progress is saved on this device. Create a free account to keep your progress on all your devices.