I don't know what is wrong with the code I created

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

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

  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 9; POT-LX1AF) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.83 Mobile Safari/537.36

Challenge: Write Reusable JavaScript with Functions

Link to the challenge:

Remove the unwanted spaces →

  1. After console. and
  2. after World

Javascript is a case-sensitive language so make sure to be careful in the future.
Good luck.

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

Also note that the freecodecamp or fcc editor passes your code only if it complies with the instructions(mostly).
So also be sure to follow the instructions given in the side. :+1:

1 Like

When you use built in methods never put whitespace after “.” so it would be console.log()
Also, keep in mind that FreeCodeCamp editor says that you passed tests mostly if it matches to their instructions.