Click in order · Vibe coding with Claude Code course · Module 6: YouTube clone

Active tab state

Build the active tab state declaration in the version without an address:

Items to click

  • ("home")
  • =
  • const [activeTab, setActiveTab]
  • useState<ChannelTab>

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