Click in order · Vibe coding with Claude Code course · Module 9: Discord clone

Ordering: The aria-expanded attribute

Click to build the category button attribute that tells a screen reader whether the list is expanded:

Items to click

  • }
  • =
  • !isCollapsed
  • aria-expanded
  • {

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