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

Tell us what’s happening:

I keep getting this message

  1. The callback function of your map() method should use arrow function syntax.
    Can any point me in the right direction.

Your code so far

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

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

  const songsHTML = array.map(song) => {};

// User Editable Region
/* file: styles.css */

Your browser information:

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

Challenge Information:

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

Move the first ) to the end of the line (just to the left of the semi colon)

Thank you very much.

1 Like