Why is this happening?

I can’t spot my error in this section. As soon as I type the Console.log it reads both the ourReusableFunction as well as the reuseableFunction that I created.
Did I do something wrong here? Can someone else run this code and see if it passes?
ThankYou

Your code so far


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

ourReusableFunction();

// Only change code below this line
function reuseableFunction() {
console.log("Hi World");
}
reuseableFunction();

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36.

Challenge: Write Reusable JavaScript with Functions

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/write-reusable-javascript-with-functions

Hi @Batlebot.

In the challenge, the requested function name is “reusableFunction”. The name you’ve used is “reuseableFunction,” so if you delete that second “e”, that should probably fix it.

Hope that helps.

1 Like

I need to take a spelling class
Not the first time spelling error got me
Thanks

2 Likes

copy and past help a lot

1 Like