Chapter quiz · Variants & Interactivity

Test what you learned.

8 questions on Variants & Interactivity. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Tailwind Variants — Chapter Quiz

Eight questions on pseudo-classes, group/peer, has-*, data/aria, transitions, and transforms.

0/ 9
  1. Question 1
    1

    What does the group marker enable?

  2. Question 2
    2

    Why must a peer element come before the element that reacts to it?

  3. Question 3
    3

    What does has-[:checked]: style?

  4. Question 4
    4

    data-[state=open]: styles an element when it has data-state="open".

  5. Question 5
    5

    Which utility animates property changes smoothly?

  6. Question 6
    6

    To rotate an element 180 degrees, use the rotate-___ utility.

  7. Question 7
    7

    Which utility enables CSS scroll snapping on a container?

  8. Question 8
    8

    Which are valid state or attribute variants?

    Select all that apply.

Pick an answer — instant feedback as you go.