Put in order · Next.js course · Module 6: Forms and Server Actions

Form syntax with onSubmit in React

Arrange the syntax of a form element with onSubmit in React

Items to put in order

  • onSubmit=
  • {handleSubmit}
  • >
  • <form

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