I suck at javascript


#1

Help plox,where'd i go wrong
http://prntscr.com/9wxi0o


#2

It is better for those helping if you post your raw code, rather than just a picture. Just saying.

Your greeting() function is overwriting the parameter variable:

var greeting = function (name) {
    var name = "lori";
    console.log("Lori");
};

Instead, have your function log out the greeting phrase for the name you pass in the argument:

var greeting = function (name) {
    console.log("Hello, " + name);
};

greeting("Lori");

I'm not sure what exercise this is so you will need to confirm that the phrase is as expected, but the basic mechanics are there.