I've been trying Codeacademy and im at a task where you make a contact list and here below is my code i've written. But it keeps getting the error " Oops, try again. Did you give each of your friends an address property?" And i do not know what to do.. I tried posting this issue at the forum of the task, but there were no working solution to fix this.
var friends = new Object();
friends.firstName = "George";
friends.lastName = "Georgsson";
friends.number = 5555555;
friends.address = ["Street streetsson" , "9011010", "Redmond"];
friends.bill = new Object();
friends.bill.firstName = "Bill";
friends.bill.lastName = "Gates";
friends.bill.number = 132123123;
friends.bill.address = ["Microsoft Corporation" , "9011010", "Redmond"];
friends.steve = new Object();
friends.steve.firstName = "Steve";
friends.steve.lastName = "Jobs";
friends.steve.number = 51515151;
friends.steve.address = ["Apple Inc", "9011010", "Redmond"];
friendsan object, and you assigned the information forGeorgeto that object instead of tofriends.george.friendsobject itself, instead offriends.george?