From bf6bd36e38db9e2691ed6eb57c02d0893fc4d547 Mon Sep 17 00:00:00 2001 From: Jon Ross Date: Mon, 22 Apr 2019 14:36:36 -0700 Subject: [PATCH] Update alt text to clarify "shorthand attributes" Alternatively, `alt="A man dancing"` could also be removed with no detrimental side effects IMO. --- .../tutorial/01-introduction/03-dynamic-attributes/text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md b/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md index 6f031cb0cf..6deaad5837 100644 --- a/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md +++ b/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md @@ -30,6 +30,6 @@ We can use curly braces *inside* attributes. Try changing it to `"{name} dancing It's not uncommon to have an attribute where the name and value are the same, like `src={src}`. Svelte gives us a convenient shorthand for these cases: ```html -... +A man dancing ```