Part 4


#1

Where have I gone wrong with the coding here?
var friends = {
bill: {
firstName: 'Bill',
lastName: 'Gates',
number: '01900 821115'
}

steve: {
    firstName: 'Steve',
    lastName: 'Jobs',
    number: '01900 821117'  
    }

};

Every time I enter it it says there was a problem with my syntax. Any ideas?


#2

@callumdunlop
Right after creating your bill friend, put a comma(after your curly brackets).


#3

Wow, I would have never put that 2 and 2 together. Thank you so much!