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

Seconds with a leading zero

Arrange in one line the return statement of formatTime:

Items to put in order

  • `${minutes}:
  • .padStart(2, "0")}`;
  • ${String(rest)
  • return

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