Problem with "Basic JavaScript: Write Reusable JavaScript with Functions"

Problem with "Basic JavaScript: Write Reusable JavaScript with Functions"
0

#1

Hello!
So i have been stuck in this problem since 10 minutes but i think my answer is right :


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

reusableFunction();

I followed all the instructions but it keep saying that “reusableFunction should output “Hi World” to the dev console”.

I did some research on google and a lot of people’s have the same problem.

Is something wrong with my code ?

Thanks in advance for the help

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


#2

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.


#3

Updates were made to the curriculum in the last day which included a bug. Challenges which require console.log() statements are no longer passing tests. For now, you’ll have to use the curriculum page to skip those challenges.


#4

Thank you for the answer!


#5

I have the same issue. I’ll just skip this lesson until it’s fixed.

Thank you, @ArielLeslie for the heads up.


#6

No one had created the issue on Github, so I just reported it.


#7

This is also happening to me. Thanks for spotting this bug!