Question · Vibe coding with Claude Code course · Module 8: Slack clone

Quiz: The action bar without a mouse

Why does the message action bar have the classes group-focus-within and pointer-coarse next to group-hover?

Answer options

  • So the bar is visible only in dark mode
  • So the actions work faster on mouse hover
  • To hide the actions from the author of the message
  • So the actions are available from the keyboard and on touch screens, where hover does not work

You can check the correct answer by solving this task in the CodeWorlds game.