if the function is called as sayHello("Joe"), your function just returns "Joe", you need to return “Hello, [name]!” or “Hello there!”, you need to add something else.
Try adding a variable message in this way: var message = name; and then manipulate it till you have the result you need, adding below
console.log(message); //so you know what the message is now
return message;