Hi Number 23 please


#1



https://www.codecademy.com/en/courses/spencer-sandbox/3/4?curriculum_id=506324b3a7dffd00020bf661


It keeps saying there is a problem with my syntax i'm not sure why can you please help?


function Person(name,age) {
  this.name = name;
  this.age = age;
  this.species = "Homo Sapiens";
}

var sally = new Person("Sally Bowles", 39);
var holden = new Person("Holden Caulfield" 16);

console.log("sally's species is " + sally.species + " and she is "+ sally.age );
console.log("holden's species is " + holden.species + " and he is " +holden.age);


#2

missing a comma after Holden Caulfield

and just to be safe, you might want to remove the space after sally.age :wink:


#3

Sweet thx bro that worked :grin:


#4

I can't believe i didnt notice :sweat_smile:


#5

It's okay all it takes is one little comma to break your entire program. It happens to everyone :slight_smile: