chore: easy wording

pull/4449/head
Kirankumar Ambati 6 years ago committed by GitHub
parent a972a47e14
commit 20a8d0c314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@ We can use curly braces *inside* attributes. Try changing it to `"{name} dances.
## Shorthand attributes ## Shorthand attributes
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: It's common 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 ```html
<img {src} alt="A man dances."> <img {src} alt="A man dances.">

Loading…
Cancel
Save