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

Tell us what’s happening:

I am trying to solve this problem often times tried different things but couldn’t figure it out what i am missing and what is the problem.

Your code so far

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

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

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

// User Editable Region
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

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

this is not an assignment, also the assignment should be at the beginning of the line, with the ternary to the right of the assignment operator

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