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

Tell us what’s happening:

not sure what im doing wrong i keep getting add the event listener to the next button element but im pretty sure i did that on line 157

Your code so far

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

/* file: styles.css */

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

  nextButton.addEventListner("click", playNextSong);

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

Hi @ryanstruckus

You should call the addEventListener() method on your nextButton variable.

You have a typo in your code.

Happy coding

i cant seem to find a typo unless im wrong about how to call an add event listener method

never mind i found it the parentheses was out of place thanks for the advice