Complete the code to display the variable name inside the paragraph using Svelte text interpolation.
<p>Hello, [1]!</p>In Svelte, you use curly braces {} to insert variables into the HTML. So {name} will show the value of name.
Complete the code to show the sum of a and b inside the heading using Svelte interpolation.
<h1>The sum is [1]</h1>To show an expression result in Svelte, wrap the entire expression in curly braces like {a + b}.
Fix the error in the code to correctly display the user's full name using Svelte interpolation.
<p>User: [1]</p>In Svelte, you can use expressions inside curly braces. Concatenate the first and last name inside one set of braces.
Fill both blanks to create a greeting that shows the user's name and age using Svelte interpolation.
<p>Hello, [1]! You are [2] years old.</p>
Use curly braces around variables to show their values. For user.name and user.age, wrap both in braces.
Fill all three blanks to display a message with the user's uppercase name, current year, and age next year using Svelte interpolation.
<p>[1] is [2] years old now and will be [3] next year.</p>
Use curly braces to insert expressions. You can call functions like toUpperCase() and use JavaScript expressions inside the braces.