I am here for two days now and I not able to see where I am wrong


#1



https://www.codecademy.com/courses/objects-ii/0/3?curriculum_id=506324b3a7dffd00020bf661#https://www.codecademy.com/courses/objects-ii/0/3?curriculum_id=506324b3a7dffd00020bf661#


Oops, try again.
It looks like your speak method doesn't properly take in a single argument and output the correct string.


var james = {
    job: "programmer",
    married: false,
    speak: function(mood) {
        console.log(mood);
    }
};

james.speak("Hello, I am feeling great");
james.speak("Hello, I am feeling just okay");


#2

@stef995,
In your _speak- Method, replace the code-line

console.log(mood);

by

console.log("Hello, I am feeling " + mood);

#3

thanks man. That was the problem.You saved me !!!!!!