
Arthur Kakulidis
1,619 PointsI am getting this question wrong even though I looked into the video many times. Can someone please help.
The hint is saying that task 1 is no longer passing
var objects = [
{name: "Bob"
age: 14},
{name: "Sally"
age: 15},
{name: "Phil"
age: 13},
]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JavaScript Objects</title>
</head>
<body>
<script src="script.js"></script>
</body>
</html>
3 Answers

Connor Walker
15,007 PointsYour code is almost correct, you are just missing the commas in between the values inside each object and the semi colon at the end of the array, like this:
var objects = [
{name: "Bob",
age: 14},
{name: "Sally",
age: 15},
{name: "Phil",
age: 13},
];

Shane Oliver
19,820 PointsYou will need to separate you key value pairs in your objects with commas
var objects = [
{name: "Bob",
age: 14},
{name: "Sally",
age: 15},
{name: "Phil",
age: 13},
]

Arthur Kakulidis
1,619 PointsOhhh. Ok I see it now! Thank you so much.