I am not getting where the error is please help


var james = {
// add properties to this object!
job: "programmer";
married: false;

function Person(job, married) {
this.job = job;
this.married = married;

// create a "gabby" object using the Person constructor!
var gabby = new Person("student", true)


Hi @vinayakkad

  • You have to change ";" to "," (line 3)
  • You have to delete ";' (line 4)

Read one more time the lesson who speaks about how to declare an object.

Hold on :wink:


thanks a ton i guess i should revise once :sweat:@onepunch_man


Take your time @vinayakkad , do some exercises and it'll be more easy :relaxed: