5.Tying it all together


#1

Hello! Please, help me. What`s wrong?


#2

Call the greeting function

var greating = function (name) {
    console.log("Great to see you, " + " " + name);
};
greating("Sasha");

Oops, try again. You did not call the greeting function.

--
Spelling is important throughout Codecademy courses :wink:


#3

Thanks, I seen, but didn`t remove it :grin:


#4

I messed around with this pattern for a while until I realized that code academy will even count an extra space against you. Try deleting the space between ("Great to see you,) and ". It seems you have 2 spaces between (, and Sasha).

This happened to me on numerous exercises and I couldn't catch it for a long time.


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.