Tell us what’s happening:
i tried some strategies but still struggle with test two, i need help
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
function highlightCurrentSong() {
const elements = Array.from(playlistSongs.children)
elements.forEach(song => {
const aria = song.querySelector('[aria-current="true"]')
if (aria) {
song.removeAttribute('aria-current')
}
})
}
// 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/142.0.0.0 Safari/537.36 OPR/126.0.0.0
Challenge Information:
Build a Music Player - Step 36