Code is correct but won't work?


Oops, try again.
It looks like james' job was not logged to the console.

var james = {
    job: "programmer",
    married: false

// set to the first property name of "james"
var aProperty = "job";

// print the value of the first property of "james" 
// using the variable "aProperty"


Ok your code is correct not sure why it is not passing. Try refreshing the browser or clearing cookies?


Sometimes when you do those exercises with the app, it doesn't work. So if you were using the app just try doing it with the website. It worked for me.


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