Question · Svelte and SvelteKit course · Module 13: Form Actions

Where Form Actions Live

Where do we define form actions in SvelteKit?

Answer options

  • In +page.svelte
  • In +page.server.js as export const actions
  • In +actions.js
  • In +form.js

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