var james = {
job: "programmer",
married: false,
speak: function(mood) {
console.log ("Hello, I am feeling just"+" "+ speak)

james.speak("just okay");

OK so it says this code passes but it doesnt log the proper answers. I'm guessing that it has something to do with +speak) part but im not sure. so any help to fix this would be great.


You figured correctly, it is to do with + speak which should read, + mood, the formal parameter. speak is undefined.


swithed it to +mood) and it said "opps, try again. it looks like your speak method doesnt properly take in a single argument and output the correct string." but it is logging "Hello, I am feeling just great" "Hello, I am feeling just just okay"
so yeah now it does the right thing but says its wrong...


added a "just" in the first console.log.... im dumb. thanks for the help.