Please I need help with excerscise 5 - tying it all together


I can't move past this Syntax... I have tried every option and every way I can think off. Please help me out.

// Nicely written function:
var calculate = function (number) {
var val = number * 10;

// Here is what I have tried

var greeting = function ("alex"){
console.log(greeting + "alex")


We need to work with variables, not with strings.

var greeting = function (name){
   console.log("Nice to meet you, " + name); // as an example

Check the instructions for the exact phrase to use.


Thank you so much it helps :smile: