Why isn't my code working?



It says, " Oops, try again. You didn't put quotes around the name you gave the greeting function!". I even put it through an online syntax validator and it said the code was all valid. Please help me!

var calculate = function (number) {
    var val = number * 10;

var greeting = function (name) {
    gretting("Ali Allam")



It's greeting function right?


Looks like you don't have a semi colon after your name.



What name are you talking about?


gretting("Ali Allam");


I'm wrong. You also have the word gretting instead of greeting



It's not obligated to put semicolons


Your call is wrong. you have gretting instead of greeting



Who are you talking to????:confused: