3. Literally Speaking


#1



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

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

I've read several of the forum posts on this and I still can't figure out why I can't pass this lesson. I'm getting the correct output to the console. Thanks in advance for the help.

Edit: Never mind! I forgot the comma in the sentence. SMH!!!!


#2

Which lesson is this? Please post a link. Thank you.


#3

@microsolver89291 Dough! I did the same thing. Thanks man :slight_smile:

@mtf It's 3. Literally Speaking: https://www.codecademy.com/en/courses/objects-ii/0/3?curriculum_id=506324b3a7dffd00020bf661


#4

@microsolver89291 Hi, This lesson requires you to have the exact text Hello, I am feeling you are missing the comma after Hello

@rorygrenade Check your code if the text is exactly the same, if you still get an error paste in your code


#5

@zainabrawat, I'm sorted thanks, just posted because @mtf was asking what lesson @microsolver89291 was referring to :). Awesome profile pic btw