Put in order · Vibe coding with Claude Code course · Module 10: TikTok clone

The preload attribute in the feed

Put the line in order that makes the browser download only the active clip and its neighbours:

Items to put in order

  • : "none"}
  • ? "auto"
  • Math.abs(i - active) <= 1
  • preload={

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