Basic JavaScript - Write Reusable JavaScript with Functions

Tell us what’s happening:
Describe your issue in detail here.
function reusableFunction(){
console.log(“Hi world”);
}
reusableFunction();
i called the function and still it is showing error.

  **Your code so far**
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/103.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Write Reusable JavaScript with Functions

Link to the challenge:

If reusableFunction is called, it should output the string Hi World to the console.

Minor things like capitalization can matter.

1 Like

The “w” in the string “Hi world” needs to be capitalized.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.