Guys my code is not running help

I cant find where i am going wrong

Your code so far


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

Your browser information:

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

Challenge: Write Reusable JavaScript with Functions

Link to the challenge:

There are two requirements for this challenge:

  1. Create a function called reusableFunction which prints "Hi World" to the dev console.

You are doing this one just fine.

  1. Call the function.

You are missing this one.

how do i add it please assist

Read the instructions in the challenge very carefully. In the paragraph below the function code it tells you exactly how to call a function. You just add the function call after your definition of reusableFunction (i.e right below it).

2 Likes

thanks a lot I got it after many trials