From 103ba189629621e7e4079b277ed0a3b00f993bba Mon Sep 17 00:00:00 2001 From: Sabrina Herrera <128882820+sabrina-herrera@users.noreply.github.com> Date: Thu, 15 Feb 2024 23:32:36 -0800 Subject: [PATCH] fix(curriculum): update music player step 12 description (#53746) --- .../65420b821b14f25a6b35c3b3.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/65420b821b14f25a6b35c3b3.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/65420b821b14f25a6b35c3b3.md index 50b6fd9feb8..981c5a757b1 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/65420b821b14f25a6b35c3b3.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/65420b821b14f25a6b35c3b3.md @@ -7,11 +7,11 @@ dashedName: step-12 # --description-- -Later when you call the `renderSongs` function, you'll pass in the `songs` array inside the `userData` object. When you do, the function will loop through the array and build HTML for all the songs. +When the songs are displayed on the page, it should show the title, artist, duration of each song and a delete button. -To do this, you'll use the `map()` method, which you'll learn more about in the following steps. +In the next few steps, you will learn how to add new HTML for each song using the map() method. This method will be explained in more detail in the next step. -For now, use `const` to declare a variable named `songsHTML` and assign it `array.map()`. +Start by using `const` to declare a variable named `songsHTML` and assign it `array.map()`. # --hints--