Not what they want


#1



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.

It works, but code academy doesn't like it

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

james.speak("great");
james.speak("just okay");


#2

The code is valid, but the SCT may be looking for a different variable name. Try using mood.


#3

I got the same error message.


#4

"Hello, I am feeling great"

The text must match the instructions.


#5

They really should change that rule.


#6

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