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 trialDaniel Springer
Courses Plus Student 5,090 PointsDon't understand why its not working?
I'm getting thought this challenge even thought im pretty sure im doing it right?
var coordinates = [
[34, 01],
[23, 04],
[43, 09],
[54, 64]
];
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JavaScript Objects</title>
</head>
<body>
<script src="script.js"></script>
</body>
</html>
2 Answers
stjarnan
Front End Web Development Techdegree Graduate 56,488 PointsHi Daniel,
There is an illegal token in your code (it is invisible), try removing all your code and then writing it all over again. Your code is correct, it's just that illegal token ruining it for you :)
I hope that helped
Jonas
Daniel Springer
Courses Plus Student 5,090 PointsHi Jonas,
Thanks for the quick reply. I followed your advice and it worked. Thanks ! D.
nitin suresh
5,691 Pointsnitin suresh
5,691 PointsHey @stjarnan . Can you tell the problem here?
stjarnan
Front End Web Development Techdegree Graduate 56,488 Pointsstjarnan
Front End Web Development Techdegree Graduate 56,488 Pointsnitin suresh
Yes, there was an illegal token (in this case an invisible character that cause the JavaScript parser to throw that error.) on line 4.
Here's a link if you want to read up: Illegal Tokens
I hope that helps
Jonas
nitin suresh
5,691 Pointsnitin suresh
5,691 PointsThanks stjarnan . I understood.