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

Tell us what’s happening:

can anyone help me with this? not sure where my mistake was. I tried writing the parameter “org” with and without parentheses like the examples in this lesson. suggested but that doesn’t seem to be the problem. suggestions?

Your code so far

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

/* file: styles.css */

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

const printMessage = (org) => {
  console.log(`${org} is awesome!`);
}
  printMessage ("freeCodeCamp");

// 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/17.1 Safari/605.1.15

Challenge Information:

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

Hi @erincmyers12

Please remove the white space before the round brace.

Your code works, the tester is just specific about spacing.

Happy coding

1 Like