Reusable JavaScript with Functions

Reusable JavaScript with Functions
0.0 0

#1

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

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

reusableFuction();

Check your spelling.


#3

Hi,

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


#4

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