Chapter quiz · Patterns & Production

Test what you learned.

8 questions on Patterns & Production. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Tailwind in Production — Chapter Quiz

Eight questions on component extraction, frameworks, the cn toolkit, a11y, performance, and v4 migration.

0/ 9
  1. Question 1
    1

    What is the recommended cure for repeating a long class list across many files?

  2. Question 2
    2

    In React, which attribute holds Tailwind classes?

  3. Question 3
    3

    What problem does tailwind-merge solve?

  4. Question 4
    4

    Removing focus styles with outline-hidden and no replacement harms keyboard accessibility.

  5. Question 5
    5

    How do you tell Tailwind v4 to scan a path outside the default detection?

  6. Question 6
    6

    The official command to upgrade a v3 project is npx @tailwindcss/___.

  7. Question 7
    7

    Why is cva useful for component libraries?

  8. Question 8
    8

    Which changed when migrating Tailwind v3 to v4?

    Select all that apply.

Pick an answer — instant feedback as you go.