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
Brad Kirkham
14,392 PointsChallenge task 7 of 7 Adding a Dynamic Map issues cannot pass
Hey
i have an issue with the last challenge it comes out with the "Oops! It looks like Task 2 is no longer passing." went i enter this code as
""var theMap = new google.maps.Map(mapElement, mapOptions);""
i dont understand why its wrong looking at other discussions on treehouse what am i doing wrong?
2 Answers
Liz Karaffa
17,576 PointsGenerally when you get that message it means that somewhere you have a syntax error (i.e you're missing a paranthesis, comma, semi-colon, etc somehwere). Without seeing your exact markup I can't see where there error is, but double check that you've got all your i's dotted and t's crossed.
Brad Kirkham
14,392 PointsThanks Liz yeah it was a syntax error in my div code forgot to close it