Put in order · Vibe coding with Claude Code course · Module 11: Spotify clone
The Up next list in the queue
Arrange in one line the computation of the tracks that will play after the current one:
Items to put in order
- queue
- index + 1
- const upcoming =
- );
- .slice(
You can check the correct answer by solving this task in the CodeWorlds game.