From 271b751ba16a080fe61a086e1bec45cda195b00c Mon Sep 17 00:00:00 2001 From: Tan Li Hau Date: Fri, 3 Dec 2021 15:00:30 +0800 Subject: [PATCH] Update site/content/tutorial/02-reactivity/03-reactive-statements/text.md Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- .../tutorial/02-reactivity/03-reactive-statements/text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/tutorial/02-reactivity/03-reactive-statements/text.md b/site/content/tutorial/02-reactivity/03-reactive-statements/text.md index d2c79714b4..7d64155a3a 100644 --- a/site/content/tutorial/02-reactivity/03-reactive-statements/text.md +++ b/site/content/tutorial/02-reactivity/03-reactive-statements/text.md @@ -8,7 +8,7 @@ We're not limited to declaring reactive *values* — we can also run arbitrary * $: console.log(`the count is ${count}`); ``` -> Did you notice we are using [template literal syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals "MDN Web Docs") here? `the count is ${count}` is enclosed by `` ` `` backticks, **not** `'` quotes. This enables us to substitute it with reactive declarations, `${count}` for example. +> This example uses [a template literal](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals "MDN Web Docs"). You can easily group statements together with a block: