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 trialMelissa Ferguson
8,274 Pointswhat wrong with this answer? Didn't i do the mulitdimentional array correctly.
note the literal is there bc its the second part of a three part quesion.
const coordinates=[`[10,70]`];
2 Answers
Clayton Perszyk
Treehouse Moderator 48,850 Pointsyou should use a nested array (you're using a template string).
Melissa Ferguson
8,274 PointsI took the ticks out. However Iβm just confused bc the first part of the challenge said to put a template literal in the array.(Got that right) Then the second part said add a nested array inside the array. And the challengeS always say to add on to the previous question so thatβs why I left the ticks. Maybe itβs just me but the questions just need to be a little more clear.
Clayton Perszyk
Treehouse Moderator 48,850 PointsNot sure where you're seeing put a template literal in array. I worked through steps 1-3 and there is no mention of adding a template literal. The first step mentions assigning an empty ARRAY literal to the variable.