Skip to content

Commit 76e4cbf

Browse files
docs: remove unnecessary quotes from tutorial exercise (#551)
1 parent c31c0b2 commit 76e4cbf

File tree

2 files changed

+2
-2
lines changed
  • apps/svelte.dev/content/tutorial/01-svelte/04-logic/04-each-blocks

2 files changed

+2
-2
lines changed

apps/svelte.dev/content/tutorial/01-svelte/04-logic/04-each-blocks/+assets/app-b/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{#each colors as color, i}
1010
<button
1111
style="background: {color}"
12-
aria-label="{color}"
12+
aria-label={color}
1313
aria-current={selected === color}
1414
onclick={() => selected = color}
1515
>{i + 1}</button>

apps/svelte.dev/content/tutorial/01-svelte/04-logic/04-each-blocks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Now we need to use the `color` variable in place of `"red"`:
3030
{#each colors as color}
3131
<button
3232
style="background: +++{color}+++"
33-
aria-label="+++{color}+++"
33+
aria-label=+++{color}+++
3434
aria-current={selected === +++color+++}
3535
on:click={() => selected = +++color+++}
3636
></button>

0 commit comments

Comments
 (0)