Complete the code to display the message using mustache syntax.
<template> <p>[1]</p> </template> <script setup> const message = 'Hello, Vue!' </script>
The mustache syntax {{ message }} displays the value of the message variable in the template.
Complete the code to interpolate the user's name inside the greeting.
<template> <h1>Welcome, [1]!</h1> </template> <script setup> const userName = 'Alice' </script>
The variable userName holds the user's name, so {{ userName }} shows it in the template.
Fix the error in the template to correctly show the count variable.
<template> <span>[1]</span> </template> <script setup> const count = 5 </script>
Variable names are case-sensitive. The correct variable is count with lowercase 'c'.
Fill both blanks to interpolate the first and last name in the greeting.
<template> <p>Hello, [1] [2]!</p> </template> <script setup> const firstName = 'John' const lastName = 'Doe' </script>
Use firstName and lastName to show both names in the greeting.
Fill all three blanks to interpolate the user's full info: uppercase first name, age, and city.
<template> <p>[1] is [2] years old and lives in [3].</p> </template> <script setup> const firstName = 'emma' const age = 28 const city = 'Paris' </script>
firstName without converting to uppercase.Use firstName.toUpperCase() to show the name in uppercase, then age and city as declared.