Put in order · Vibe coding with Claude Code course · Module 3: Twitter clone
Form submission flow
Arrange what happens after a form is submitted:
Items to put in order
- e.preventDefault() blocks the reload
- The user clicks the Submit button
- The onSubmit handler runs
- The new post is added to state via setState
You can check the correct answer by solving this task in the CodeWorlds game.