Question · Vibe coding with Claude Code course · Module 10: TikTok clone
IntersectionObserver in the feed
What does the feed use IntersectionObserver with threshold: 0.6 for?
Answer options
- It reports which slide is at least 60% visible and sets it as the active one
- It plays a clip 0.6 seconds after entering the page
- It downloads 60% of the video file before playback
- It dims a clip to 60% brightness when it leaves the screen
You can check the correct answer by solving this task in the CodeWorlds game.