Put in order · Vue.js course · Module 2: Template Syntax

v-bind Syntax with Attribute

Arrange the correct v-bind syntax for a dynamic src attribute:

Items to put in order

  • " />
  • imageUrl
  • v-bind:src="
  • <img
Show the answer

Correct order:

  1. <img
  2. v-bind:src="
  3. imageUrl
  4. " />