Basic JavaScript - Write Reusable JavaScript with Functions

ive tried this several different ways and cant seem to complete the function.

help please

Your code so far

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

Your browser information:

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

Challenge: Basic JavaScript - Write Reusable JavaScript with Functions

Link to the challenge:

You should only use the function keyword once.

how do i call the function after i input the function

You can call or invoke this function by using its name followed by parentheses, like this: functionName();

See how the example function call does not use the function keyword? Only the function name, followed by ()

i just got it thank you!

1 Like

yes i got it now all of this is a bit challenging im new to coding trying to figure it all out

1 Like

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