Reusable JavaScript with Functions

Tell us what’s happening:
When i try to run the ode it keeps telling me reuseableFuction is not defined though pretty sure its fine

Your code so far

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

ourReusableFunction();

// Only change code below this line

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

reusableFuction();```
**Your browser information:**

Your Browser User Agent is: ```Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36```.

**Link to the challenge:**
https://www.freecodecamp.org/challenges/write-reusable-javascript-with-functions
function reusableFunction() {
  console.log("Hi World");
  
}

reusableFuction();

Check your spelling.

1 Like

Hi,

Yeah i got there in the end, feel stupid, so focused on the code not even thinking about the spelling. Thanks for replying.

Typos will be your enemy for your entire life as a developer. You get pretty good at finding them though. :slight_smile: