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

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

1 Like

Hello,
You will be asked to add the aria-current attribute in the next step, step 65

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.