fix(curriculum): update music player step 12 description (#53746)

This commit is contained in:
Sabrina Herrera
2024-02-16 07:32:36 +00:00
committed by GitHub
parent 696348953d
commit 103ba18962
@@ -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 <dfn>map()</dfn> 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--