5 Tying it all together


my error : Oops, try again. You didn't put quotes around the name you gave the greeting function!

my code:

// Nicely written function:
var calculate = function (number) {
    var val = number * 10;

// Badly written function with syntax errors!

var greeting = function (name) {
    console.log("nice to meet you" + " " + name);



Hello :slight_smile:

It's only a typo, here:


it should be greeting.


thank you so much, how could i have missed that.


It happens all the time for me :slight_smile:

You're very welcome.


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