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

Tell us what’s happening:

Hi I’ve hit a cliff edge here correct me where Preformatted textI’m wrong.

Your code so far

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

/* file: styles.css */

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

function printGreeting() {
console.log{};
}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0.1 Safari/605.1.15

Challenge Information:

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

Have a look at your syntax again for the arrow function and the console log.

The example of an arrow function given:

const exampleFunction = () => {
  // code goes here
}