Tell us what’s happening:
It requires me to use the removeAttribute() method to remove the “aria-current” attribute but I don’t understand where the attribute is getting removed from. Where exactly is the “aria-current” attribute in the code?
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
playlistSongElements.forEach((songEl) => {
songEl.removeAttribute("aria-current");
});
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Challenge Information:
Learn Basic String and Array Methods by Building a Music Player - Step 64