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

Tell us what’s happening:

I enter:
current Title = current Title ? playing Song.text Content : “”;
current Artist = current Artist ? song Artist.text Content : “”;
But this is not correct, why???

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

  currentTitle = currentTitle ? playingSong.textContent : "";
  currentArtist = currentArtist ? songArtist.textContent : "";

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0

Challenge Information:

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

this is what you need to change the value of, not currentTitle

I love youuuuuuuuuuuuuu :heart_eyes:

please don’t, that’s unprofessional