Put in order · Vibe coding with Claude Code course · Module 8: Slack clone
Sorting: Sending a message
Order the sending of a message in MessageInput:
Items to put in order
- handleKeyDown calls form.requestSubmit()
- You press Enter without Shift
- The field clears and the message appears in the list
- You type text in the field
- The sendMessage Server Action saves the message
You can check the correct answer by solving this task in the CodeWorlds game.