Help with Javascript challenge (Write Reuseable Javascript with functions)

Hello, i am running into an error and i’m not sure what i have done wrong. My code is as follows:

// Example
function ourReusableFunction() {
  console.log("Heyya, World");
}

ourReusableFunction();

// Only change code below this line

function reuseableFunction() {
  console.log("Hi World");
}

reuseableFunction(); 

Now it says that reuseableFunction should be a function and that i should call it after i define it. Any help would be appreciated. thanks!

You have a typo in your code.

reuseable should be reusable (no e after the s).

1 Like

Thanks friend. its been a looooong morning. no excuses! :grin: