From 743fc6831f0f80195db7e9d11b5c7b40f4203f2e Mon Sep 17 00:00:00 2001 From: Alejandro Pla <33865258+Alepla@users.noreply.github.com> Date: Thu, 15 Feb 2024 12:10:43 +0100 Subject: [PATCH] fix(curriculum): improve description in step 47 of music player (#53738) --- .../65547ee197840478a1b95f4b.md | 4 +++- 1 file changed, 3 insertions(+), 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/65547ee197840478a1b95f4b.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/65547ee197840478a1b95f4b.md index f2ab5c735df..2ab839fa763 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/65547ee197840478a1b95f4b.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/65547ee197840478a1b95f4b.md @@ -7,10 +7,12 @@ dashedName: step-47 # --description-- -It's time to hook up the `playNextSong` function to an event listener. +Now it is time to test out the `playNextSong` function. Add a `click` event listener to the `nextButton` element, then pass in `playNextSong` as the second argument of your event listener. This is the function the event listener will run. +Test out your app by first clicking on the play button followed by the next button. You should see that everything is working as expected. + # --hints-- You should call the `addEventListener()` method on your `nextButton` variable.