QuizzesColour and Typography — Concept Check
intermediate
html-css

Colour and Typography — Concept Check

Questions on Colour and Typography. Readable text is mostly four decisions — size, line height, line length and contrast — and web fonts are the most common cause of a slow, shifting page.

7 minutes 7 questions Pass at 70%
Time Limit
7 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

7 questions on Colour and Typography — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A webpage is experiencing layout shifts due to late font loading. Which solution minimizes this issue?

    • APreload fonts and use font-display: swap for immediate fallback
    • BUse font-display: optional to load fonts only if fast
    • CUse font-display: block to prevent text visibility until fonts load
    • DAvoid using web fonts to eliminate layout shifts
  2. 2.What is the recommended minimum font size for body text to ensure readability?

    • A12px
    • B18px
    • C16px
    • D14px
  3. 3.A designer prefers a low contrast ratio for aesthetic reasons. What is the minimum contrast ratio required for body text according to WCAG AA?

    • A4.5:1
    • B3:1
    • C5:1
    • D6:1
  4. 4.A webpage uses a line-height of 24px for the body text. What issue might arise with this setting?

    • AIt doesn't scale with font-size changes
    • BIt improves readability
    • CIt automatically adjusts for headings
    • DIt scales well with different font sizes
  5. 5.Which CSS property should be avoided to prevent 'rivers of whitespace' in web text?

    • Atext-align: justify
    • Bline-height: 1.5
    • Chyphens: auto
    • Dtext-wrap: balance
  6. 6.A developer uses 'font-display: block' for loading web fonts. What is a potential issue with this approach?

    • AIt ensures fonts load quickly
    • BIt swaps fonts immediately
    • CIt only loads fonts if the connection is fast
    • DIt hides text for up to 3 seconds
  7. 7.How should letter-spacing be adjusted for uppercase labels to enhance readability?

    • ASet to 1em
    • BIncrease by 0.05em
    • CDecrease by 0.05em
    • DKeep at 0em