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

Tell us what’s happening:

There’s not much documentation on this in the forum… Where does this answer go wrong? This seems to be what the question is asking for…

Your code so far

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

/* file: styles.css */

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

  audio.AddEventListener("ended", () => {});

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

addEventListener and not AddEventListener

1 Like

A small typo error. No need for an uppercase “a”.

Thank you @nickrg appreciate the contribution

1 Like