# Help with Javascript challenge (Write Reuseable Javascript with functions)

**URL:** <https://forum.freecodecamp.org/t/help-with-javascript-challenge-write-reuseable-javascript-with-functions/56976>\
**Category:** General\
**Created:** [November 19, 2016, 11:43am UTC](https://forum.freecodecamp.org/t/help-with-javascript-challenge-write-reuseable-javascript-with-functions/56976 "2016-11-19T11:43:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amirasha23](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/amirasha23/32/24789_2.png) [@Amirasha23](https://forum.freecodecamp.org/u/Amirasha23)\
**Post date:** [November 19, 2016, 11:43am UTC](https://forum.freecodecamp.org/t/help-with-javascript-challenge-write-reuseable-javascript-with-functions/56976/1 "2016-11-19T11:43:32Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![kevcomedia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevcomedia/32/125737_2.png) [@kevcomedia](https://forum.freecodecamp.org/u/kevcomedia)\
**Post date:** [November 19, 2016, 11:46am UTC](https://forum.freecodecamp.org/t/help-with-javascript-challenge-write-reuseable-javascript-with-functions/56976/2 "2016-11-19T11:46:02Z")

</div>

You have a typo in your code.

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

---

<div class="post-metadata">

**Author:** ![Amirasha23](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/amirasha23/32/24789_2.png) [@Amirasha23](https://forum.freecodecamp.org/u/Amirasha23)\
**Post date:** [November 19, 2016, 11:57am UTC](https://forum.freecodecamp.org/t/help-with-javascript-challenge-write-reuseable-javascript-with-functions/56976/3 "2016-11-19T11:57:38Z")

</div>

Thanks friend. its been a looooong morning. no excuses! 😁

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [January 16, 2021, 6:09am UTC](https://forum.freecodecamp.org/t/help-with-javascript-challenge-write-reuseable-javascript-with-functions/56976/4 "2021-01-16T06:09:35Z")

</div>


