logo
🥇 Top contributors

💌 Submit a question

Add a new question

Select the Category:

Question:

Choice 1:

Choice 2:

Choice 3 (Optional):

Choice 4 (Optional):

Correct Answer:

Explanation:

Hint (Optional):

Code (Optional):

Your Twitter (for credit):

Svelte

Attribute variables

Pick an answer

See all questions


    <script>
      let image = 'image.png';
      let name = 'John Doe';
    </script>

    <img src={image} alt="Photo by {name}">

Question 1 of 21

The curly brackets in 'alt' attribute will receive the value of 'name' variable.

True
False
Next