Knowledge check: Creating layouts

Knowledge check: Creating layouts

  1. Which of the following is not a valid value for the 'display' property?

    • inline-grid

    • flex

    • box

    • grid

  2. Which of the following is an absolute unit of measurement in CSS?

    • vh

    • px

    • rem

    • ch

  3. Which of the following is a two-dimensional layout model that can be created in CSS?

    • Grid model

    • Floats model

    • Box model

    • Flex model

  4. Which of the following units of measurements are directly associated with the font sizing in CSS? Select all that apply.

    • vw

    • ch

    • rem

    • em

  5. Which of the following properties is not a part of the shorthand 'flex' property?

    • flex-shrink

    • flex-basis

    • flex-wrap

    • flex-grow

  6. The box model consists of which of the following properties? Select all that apply.

    • Border

    • Padding

    • Outline

    • Margin

  7. The grid items by default will start at the ________ of the grid container.

    • top left

    • top right

    • bottom left

    • bottom right

  8. Is the following statement true or false? The cross-axis will always be perpendicular to the main axis in a flexbox.

    • True

    • False