diff --git a/site/content/tutorial/04-logic/04-each-blocks/text.md b/site/content/tutorial/04-logic/04-each-blocks/text.md index 886990f5a0..e69234fa5b 100644 --- a/site/content/tutorial/04-logic/04-each-blocks/text.md +++ b/site/content/tutorial/04-logic/04-each-blocks/text.md @@ -26,4 +26,6 @@ You can get the current *index* as a second argument, like so: {/each} ``` -If you prefer, you can use destructuring — `each cats as { id, name }` — and replace `cat.id` and `cat.name` with `id` and `name`. \ No newline at end of file +> If you prefer, you can use destructuring — `each cats as { id, name }` — and replace `cat.id` and `cat.name` with `id` and `name`. + +Now loop over `cats` to display their indexes and names. \ No newline at end of file diff --git a/site/content/tutorial/05-events/01-dom-events/text.md b/site/content/tutorial/05-events/01-dom-events/text.md index 1c08c9159a..381d45a071 100644 --- a/site/content/tutorial/05-events/01-dom-events/text.md +++ b/site/content/tutorial/05-events/01-dom-events/text.md @@ -8,4 +8,5 @@ As we've briefly seen already, you can listen to any event on an element with th