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

Tell us what’s happening:

This is a simple code. I was to create an arrow function, then assign the arrow function to the variable printGreeting. After that, I add console.log() to the body which will print out Hello There! When run on VSCode it works only when I add a function call at the end (printGreeeting();).

I am a little lost as this is the error I am receiving:
Uncaught Error: can’t acess property “isInHiddenArea”, this._zones[s.id] is undefined.

Your code so far

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

/* file: styles.css */

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

const printGreeting = () => {
  console.log("Hello There!");
}

// User Editable Region

Your browser information:

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

Challenge Information:

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

You have capitalized the word “there”.

… Well… now I feel like an idiot. Thanks, I doubt I ever would have found that.