Basic JavaScript - Write Reusable JavaScript with Functions

This code is not passing:

 }
reuseableFunction();```
**Your code so far**


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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15

Challenge: Basic JavaScript - Write Reusable JavaScript with Functions

Link to the challenge:

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

I am getting error: ReferenceError: Can’t find variable: reuseableFunction

You haven’t posted your code correctly. Can you click on the </> icon and paste all of your code directly where indicated please?

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

I am getting error: ReferenceError: Can’t find variable: reuseableFunction

Did you notice that the spelling of your function is different?

No, I didn’t. thank you for your keen eyes! I went over and over this for almost 2 hours on forums and google and didn’t see it. Thank you so much.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.