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

Tell us what’s happening:

This is wrong, but why?
function playSong() {
setPlayerDisplay();
};

  1. You should call the setPlayerDisplay function inside your playSong function.

Your code so far

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

/* file: styles.css */

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

function playSong() {
  setPlayerDisplay();
};


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Challenge Information:

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

Welcome to the forum @jarvil158

You should call the setPlayerDisplay function inside your playSong function.

You are not asked to declare the playSong function - for a good reason.

Happy coding