Learn Basic String and Array Methods by Building a Music Player - Step 81

Tell us what’s happening:

There isn’t much documented on this in the forum, would you happen to know what is done wrong. It could possibly be something about passing the id as a parameter, but it says that it should be left empty…

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

const deleteSong = () => {};

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Learn Basic String and Array Methods by Building a Music Player - Step 81

Where is the id parameter in above code?

2 Likes

Hi @booleanmethod9

Use const and arrow syntax to create an empty deleteSong function and pass in id as a parameter.

Take a look at the playSong function.

Happy coding

1 Like

Thank you for the help

1 Like