Question · Vibe coding with Claude Code course · Module 11: Spotify clone
A name of only spaces
What happens when you type three spaces in the Name field and press Enter?
Answer options
- A playlist is created with a name of three spaces
- Nothing: name.trim() is empty, the Create button is disabled, and Enter does not submit the form
- A playlist without a name is created, and the name gets filled in later
- The browser shows its own message about a required field
You can check the correct answer by solving this task in the CodeWorlds game.