I'm not sure what is wrong.. 5


#1

var greeting = function(Heidi)
{
console.log("Welcome" + "Heidi")
}
var greeting("Heidi")

it says that there is an unexpected token but where?


#2

I guess it is the var before the function call that should not be there.
Also you might think of renaming your paramter from Heide to name as it should not only work for heidi but for any names and inside of your function better use that parameter instead of an hardcoded "Heidi" because then it would work for any name no just heidi


#3

Thanks for the tip :smile: I had to edit xD stupid mistake I made thanks really :3