From 0580c2d90d7ef4f1b3bc05a57ca090e2b318cdf1 Mon Sep 17 00:00:00 2001 From: Hyunseung Lee <78584173+HyunseungLee-Travis@users.noreply.github.com> Date: Wed, 4 May 2022 22:32:46 +0900 Subject: [PATCH] Update introduction/dynamic-attributes (#7498) --- .../tutorial/01-introduction/03-dynamic-attributes/text.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 c503b4f548..b4e2001bcf 100644 --- a/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md +++ b/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md @@ -2,9 +2,9 @@ title: Dynamic attributes --- -Just like you can use curly braces to control text, you can use them to control element attributes. +You can use curly braces to control element attributes, just like you use them to control text. -Our image is missing a `src` — let's add one: +Our image is missing a `src` attribute — let's add one: ```html @@ -24,7 +24,6 @@ In this case, we're missing the `alt` attribute that describes the image for peo We can use curly braces *inside* attributes. Try changing it to `"{name} dances."` — remember to declare a `name` variable in the `