Click in order · Vibe coding with Claude Code course · Module 11: Spotify clone

Build the playlist duration sum

Click the pieces to add up the track durations:

Items to click

  • (sum, item) => sum + item.track.duration,
  • 0)
  • playlist.tracks
  • .reduce(

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