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
Ronny Perez
29,956 PointsAdding Dynamic Maps 3/7
Hey can someone give me some pointers on this challenge know my code is right but for some reason I'm still not passing. Please help!
<script type="text/javascript"> var mapOptions = { center: new google.maps.LatLng(28.42,-81.58)
};
var mapElement;
var theMap;
</script>
4 Answers
Ronny Perez
29,956 Pointsit looks like that because of the way I posted I am not missing no tags or anything in the actual code.
Jesse Stanton
15,595 PointsTry it with a colon instead of an equal sign after center. I made the same mistake and that held me up. Then when you get to challenge #5 let me know, I'm stuck on that one.
Jesse Stanton
15,595 PointsNever mind I read that wrong. Yours looks exactly like mine which is passing.
Ronny Perez
29,956 Pointsactually there's nothing wrong with the code for some reason you have to do it all in single line in order for it to pass.
Jeff Busch
19,287 PointsJeff Busch
19,287 PointsA link to the code challenge would be nice. But if that's all the code you are missing the opening script tag.