Put in order · Vue.js course · Module 5: Events & Forms

@submit.prevent syntax

Arrange the syntax for a form with the .prevent modifier:

Items to put in order

  • @submit
  • .prevent=
  • "onSubmit">
  • <form

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