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

Tell us what’s happening:

Console outputs “Hello there!” yet the step fails anyways.
I’ve checked for typos, rewritten the function and nothing seems to work… Am I calling the function wrong? Is it bugged?

Your code so far

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

/* file: styles.css */

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

const printGreeting = () => {
  console.log('Hello there!'); 
}
printGreeting();

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:137.0) Gecko/20100101 Firefox/137.0

Challenge Information:

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

Hi,
You may have removed some original code. Reset the step and call the function again.
Good luck!

Hey, thanks for the tip, resetting the step didn’t work but I tried reloading the page ignoring cache (Ctrl + Shift + R) and it worked.

Thanks!

1 Like