Write Reusable JavaScript with Functions #issue

Write Reusable JavaScript with Functions #issue
0

#1

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


#2

Try this code:

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

#3

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


#4

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


#5

hmmm i see thanks for the advice


#6

any time, thank you too


#7

Do a search on the forum for this challenge and you will see this has already been reported as an issue on Github.

Instead of creating a hack to pass the challenge, simply skip this challenge and come back later when it is fixed.