Write Reusable JavaScript with Functions #issue

Tell us what’s happening:

Your code so far


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

ourReusableFunction();

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

reusableFunction();

Your browser information:

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

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

can someone please help me on this challenge since i am stuck and i don’t know what the issue is. i feel like ive done the correct thing because i even googled the answer but if i am wrong can someone please correct the mistake i have made.

thank you

Try this code:

...
 console.log(console.log("Hi "+"World"));
...
1 Like

thank you it worked, first time doing all of this javascript stuff btw.:joy::sweat_smile:
that was annoying me alot

sometimes you have to find a work around even if you know that your code is correct

1 Like

hmmm i see thanks for the advice

any time, thank you too

1 Like