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

Tell us what’s happening:

I dont understand it pls help

Your code so far

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

/* file: styles.css */

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

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

// 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/128.0.0.0 Safari/537.36

Challenge Information:

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

hi there!

.textContent is not a funtion. also it is goes to the right side of asignment = opretor with element/variable name.

playingSong.textContent = currentTitle ? currentTitle : “”;
songArtist.textContent = currentArtist ? currentArtist : “”;

you mean something like thus

what happened when you tried?
please don’t share solution code here unless you need help.