Put in order · Vibe coding with Claude Code course · Module 3: Twitter clone

Structure of rendering a list

Arrange the lines that render a list of pirates with map():

Items to put in order

  • </div>
  • <div key={p.id}>
  • {pirates.map((p) => (
  • ))}
  • {p.name}

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