Question · Vibe coding with Claude Code course · Module 2: A Next.js project with Claude Code

Quiz: Tailwind hover

What does the hover:bg-red-700 class do in Tailwind?

Answer options

  • Sets the background permanently to red
  • Hides the element when clicked
  • Adds padding around the element
  • Changes the background to a darker color on mouse hover
Show the answer

Correct answer:

  • Changes the background to a darker color on mouse hover