5. Tossing in an array


#1


https://www.codecademy.com/en/courses/javascript-beginner-en-3bmfN/0/5?curriculum_id=506324b3a7dffd00020bf661


I get the error message 'Oops, try again. Did you give each of your friends an address property?'.

I can't see what I'm doing wrong obviously, help greatly appreciated.

var friends = {
andreas: {
firstName: "Andreas",
lastName: "Makarara",
number: 0735123654,
adress: ["breckvegen 11", "sundbyberg", "sverige", "16634"]
}
};

friends.bill = {
firstName: "Bill",
lastName: "Billson",
number: 0705649089,
adress: ["not one ■■■■ street", "Redmond", "CA", "98052"]
};
friends.steve = {
firstName: "Steve",
lastName: "Schteve",
number: 1234567890,
adress: ["liveshere street", "madeup", "somestate", "88123"]
};


#2

Check the spelling of the adress property


#3

Gaaahh... Thanks Kurt!


#4

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