Tell us what’s happening:
I checked the forum, and this seems to be the answer that was requested, what’s wrong…
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
playButton.addEventListener() = ("click", () => {});
// 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 42
Hello @booleanmethod9 !
Good attempt!
Perhaps, try entering the “click” event and the empty callback directly into the only required parenthisis after the .addEventListener and see if that will work for you.
There should only be one set of () in the complete line of code.
Wishing you good progress on your coding journey.
Happy to be able to help another coder on their path.
Keep up the great progress @booleanmethod9 !
ILM
December 10, 2024, 3:50pm
5
remember that you can never assign to a function call
when you are asked to “pass something to a function”, you put it as an argument between the parentheses