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

Position counter in the playlist

Arrange the 'X / N' position counter in PlaylistView (single line):

Items to put in order

  • /
  • videos.length
  • index + 1

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