Put in order · Vibe coding with Claude Code course · Module 12: Medium clone
The autosave timer
Put in order, in one line, the start of a timer that calls the save of the current draft every 30 seconds:
Items to put in order
- setInterval(
- () => saveIfChanged(),
- AUTOSAVE_MS);
- const id =
You can check the correct answer by solving this task in the CodeWorlds game.