Creating a function

Tell us what’s happening:

I don’t know what I’m doing wrong. Code is not running

   **Your code so far**

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

   **Your browser information:**

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

Challenge: Write Reusable JavaScript with Functions

Link to the challenge:

Hey there @hech !

Make sure you pay attention to the errors, does the lesson say to put “Hello world” or does it ask you to put something else?

also remember to call the function here’s an example:

function hi () {

// your function has its instruction, now make it do those instructions
//the () are necessary for the syntax

remember to always read the instructions to the letter LOL

Hope this helped!

1 Like