Put in order · Vibe coding with Claude Code course · Module 10: TikTok clone

From the layout array to the buttons

Put the pieces of the duet layout choice in order so that each uses the previous one:

Items to put in order

  • The LAYOUT_LABELS map of type Record<DuetLayout, string>
  • The DUET_LAYOUTS array with as const
  • The buttons from DUET_LAYOUTS.map with labels from LAYOUT_LABELS
  • The DuetLayout type derived from the array

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