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

Hi, I am stuck in the step 33 . I do not know how to figure out the proper syntax combining an arrow function with an event listener. Can someone give me a hand? Thanks


I understood my mistake. I misinterpreted the notion of empty callback. So the correct syntax is as follows:


1 Like

I had the correct answer but I forgor to close the initial “(” , helpful thank you, gotta watch out for them typos

You are welcome! Keep it up!