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

Interpolation Syntax

Arrange the correct interpolation syntax with ternary:

Items to click

  • }}
  • ? 'SAFE' : 'CRITICAL'
  • {{
  • oxygenLevel > 20
Show the answer

Correct order:

  1. {{
  2. oxygenLevel > 20
  3. ? 'SAFE' : 'CRITICAL'
  4. }}