What am I doing wrong? 3.Function Syntax


#1

I already give the function a name!


#2

You need a semicolon after sayGreeting("Orisis")


#3

Tried that, doesn't work.


#4

Maybe change the console.log to console.log("Great to see you, " + name); rather than the extra concatenated space in the middle?

Further, if it doesn't work after that, refresh the page and try re-submitting.


#5

Nope, nothing is working. It's working perfectly, but I'm still getting You did not call the greeting function. Pass it a name!


#6

Is the function supposed to be named sayGreeting() or is it supposed to be greeting()?

Further, is the sentence suppose to end in a period?

The grader can be very picky.


#7

It was supposed to say greeting! Thanks!


#8

i got the same problem. There's something wrong in the lesson I think.