greeting(“Miguel”) on line 11
// Below is the greeting function!
// See line 7
// We can join strings together using the plus sign (+)
// See the hint for more details about how this works.
var greeting = function (name) {
console.log(“Great to see you,” + “Ian”);
}
// On line 11, call the greeting function!
greeting(“Ian”)
Hi this part
console.log("Great to see you," + " " + "Ian");
instead of "Ian"
you should put name
without " "
Thank you so much!!! I have been stuck here like hours!!!
Can someone help me with my code. There is some reason why it is not working and I can’t figure it out.
var greeting = function (Andrea) {
console.log(“Great to see you,” + " " + name);
};
// On line 11, call the greeting function!
var greeting = function(Andrea) {
console.log(“Hello” + " " + name);
};
Please create your own topic for this, instead of reviving a 5 month old post.