More People


#1


https://www.codecademy.com/courses/building-an-address-book/0/2?curriculum_id=506324b3a7dffd00020bf661#

Oops, try again. There was a problem with your syntax.
SyntaxError: unterminated string literal


var bob = {
    firstName: "Bob",
    lastName: "Jones",
    phoneNumber: "(650) 777-7777",
    email: "bob.jones@example.com"
};

var mary = {
    firstName: "Mary",
    lastName: "Johnson",
    phoneNumber: "(650) 888-8888",
    email: "mary.johnson@example.com
};
var contacts = [bob, mary];
console.log(mary.phoneNumber);



**_Can anyone tell me where i went wrong on this?_**

https://www.codecademy.com/courses/building-an-address-book/0/2?curriculum_id=506324b3a7dffd00020bf661#


#2

here:

email: "mary.johnson@example.com

it tells you SyntaxError: unterminated string literal, it means you didn't terminate/close/end the string with a quotation mark


#3

Wow major fail! facepalm! lol
it's even in the example i shared it continues to run the a string till the end in red.
funny though lol
thank you boss!


#4

yea, that made it easy to spot for me :wink:


#5

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