Put in order · Vibe coding with Claude Code course · Module 10: TikTok clone
A safe stop()
Put the line in order that stops the recording only if it is still running:
Items to put in order
- if (recorder &&
- recorder.stop();
- recorder.state !== "inactive")
You can check the correct answer by solving this task in the CodeWorlds game.