Oops, try again. There was a problem with your syntax


var greeting =function (Paul)
console.log(“Great to see you,” + " + Paul) ;

This is so frustrating cause there is just no teaching method here
In Js it’s like here you go do this and it never works


Correct code and analysis:

var greeting = function(name) { //Declaring variable greeting which takes one parameter - 'name'
 console.log("Great to see you," + " " + name) ; //Logging "Great to see you, " followed by the name you gave.