Tell us what’s happening:
I am so confused as to what is wrong. Another poster had the same thing as what I had, and they were told to check spelling and I checked mine several times, but I still keep getting "You should use the querySelectorAll()
method to select the .playlist-song
element and assign it to the playlistSongElements
constant. What am I doing ?wrong?
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
const highlightCurrentSong = () => {
const playlistSongElements = document.querySelectorAll(.playlist-song);
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Challenge Information:
Learn Basic String and Array Methods by Building a Music Player - Step 61