Put in order · Vibe coding with Claude Code course · Module 11: Spotify clone

Creating a playlist step by step

Arrange what happens after a click on Create with a valid name:

Items to put in order

  • The form fires the submit event
  • handleSubmit calls event.preventDefault()
  • The new playlist appears on the /playlists list
  • onCreate gets the trimmed values

You can check the correct answer by solving this task in the CodeWorlds game.