From a2fade59b5b6b13f925bc2041bd4bd5bbdfb9049 Mon Sep 17 00:00:00 2001 From: kmurphy1919 <155518454+kmurphy1919@users.noreply.github.com> Date: Sat, 1 Jun 2024 21:35:10 -0700 Subject: [PATCH] fix(curriculum): move backtick in step 74 (#55062) --- .../6555de565387a2efe90a6ccc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555de565387a2efe90a6ccc.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555de565387a2efe90a6ccc.md index dc7259750ac..a7cb1b7c82a 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555de565387a2efe90a6ccc.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555de565387a2efe90a6ccc.md @@ -9,7 +9,7 @@ dashedName: step-74 The `setPlayButtonAccessibleText` function will set the `aria-label` attribute to the current song, or to the first song in the playlist. And if the playlist is empty, it sets the `aria-label` to `"Play"`. -Use the `setAttribute` method on the `playButton` element to set an attribute named `"aria-label"`. For the value, use a ternary to `set song?.title` to `Play ${song.title}` or `"Play"` if there's no `song.title` available. +Use the `setAttribute` method on the `playButton` element to set an attribute named `"aria-label"`. For the value, use a ternary to set `song?.title` to `Play ${song.title}` or `"Play"` if there's no `song.title` available. Don't forget you need template interpolation here, so you need to use backticks.