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

Tell us what’s happening:

not sure why this wont work as near as i can tell i followed all the instruction and i went to the next project to check my work and it all looks right can anyone see what is wrong.

Your code so far

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

/* file: styles.css */

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

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


// 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 19

Hi there! The callback function’s body aren’t closed, it’s missing the closing curly brace.

i count three curly braces one{ on line 90 and two} on line 92 and 93 are you saying there should be a forth

I can’t see your computer screen, post your all code here again.

  const songsHTML = array.map();

Look at that starting code for the challenge step.

You need to add an empty callback function to the .map() method

Example of An empty callback function with an array parameter:

 map(arry => {})