Unexpected String: 4. Adding Properties


#1

Hello, I cannot seem to find a way to pass number 4. Adding Properties.

var friends = {
bill: {
firstName: "Bill",
lastName: "Cobblestone",
number "(111) 111-1111"
},
steve: {
firstname: "Steve",
lastName: "Eisenhart",
number: "(222) 222-2222"
}
};

Oops, try again. There was a problem with your syntax.

SyntaxError: Unexpected string

Any help would be greatly appreciated! :slightly_smiling:

Oh yeah, I'm not sure if this is relevant to the current issue, but in the last lesson it wouldn't allow me to use dot or bracket notation although I am fairly certain I was using proper syntax at that point.


#2

Hi this part

firstname: "Steve",

You wrote firstname instead of firstName


#3

Also, after staring at it for hours, I just finally noticed I was missing a colon after the first number. I'm sorry for another silly question. Thank you so much for your time and patience!