Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript Arrays Multidimensional Arrays Create a Multidimensional Array

Gerald Susanteo
seal-mask
.a{fill-rule:evenodd;}techdegree
Gerald Susanteo
Front End Web Development Techdegree Student 7,117 Points

Finally, add two more arrays to the coordinates array. The coordinates array should have 3 arrays inside it -- each of t

How is my answer wrong?

script.js
var coordinates = [
  [2, 7,],
  [27, 17, 37],
  [30, 28, 29]
];

1 Answer

Hey Gerald Susanteo,

The code you have provided is perfect but the question is asking you to only insert two number values inside each array.

Here is the final code:

var coordinates = [
  [2, 7,],
  [27, 17],
  [30, 28]
];

Hope this helps!