Put in order · Vibe coding with Claude Code course · Module 13: Twitch clone

Order: the current chapter

Arrange the body of the currentChapter function (one line):

Items to put in order

  • (chapter) => chapter.start <= time
  • sortChapters(chapters)
  • );
  • .findLast(
  • return

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