3/30: Literally Speaking: Can someone check why it passed but not printing to the console? Thanks


#1

It let me pass but doesn't print anything to the console, can someone tell me why?

MY CODE BELOW

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

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


#2

It works when I run it


#3

Try refreshing the page or logging out and back in when it does that, a lot of times the page just needs refreshed. Happens to me a lot.


#4
speak: function(mood) {
    console.log("Hello, I am feeling" + " " + mood);
}

here is my code and it is working :smile:


#5

Try to remember to add spaces, otherwise it will came out as one word.
+" "+