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