Question · Vibe coding with Claude Code course · Module 14: Pinterest clone
Quiz: The drop zone
What must the drop zone do for the drop event to arrive at all?
Answer options
- Have the attribute accept="image/*"
- Have the attribute draggable="true"
- Call e.stopPropagation() in onDrop
- Cancel the dragover event with e.preventDefault()
You can check the correct answer by solving this task in the CodeWorlds game.