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

Conditional field syntax

Arrange the syntax for conditionally displaying a field with v-if:

Items to put in order

  • <input v-model="extra" /></div>
  • <div
  • v-if=
  • "showExtra">

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