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
varis darasirikul
10,832 PointsTroubles with google maps Challenge task
In "app.js" on line 11 set "geocoder" to a new google.maps namespaced "Geocoder" object And i already wrote this below.
<script type="text/javascript" src="app.js">
var geocoder = new google.maps.Geocoder();
</script>
it doesnΒ΄t work. and i don't know what wrong? and this is link to a Challenge task (task 1) http://teamtreehouse.com/library/build-an-interactive-website/google-maps-integration/adding-point-markers-to-a-map-geocoding
thank you.
4 Answers
Alyssa Gowan
46,260 PointsAt the top of the page, there is another file called apps.js. Open it and on line 11, there is already something there that says var geocoder =. Then just type what you have after the equals sign and it should work!
varis darasirikul
10,832 PointsThe problem is at the top of the page doesn't have any js and online 11 is the word : width:100%;
Alyssa Gowan
46,260 PointsThe Code Challenge starts out with you on the file called index.html. At the top right before the code starts there is a tab called apps.js, click it, and on line 11 you can add the code.
Alyssa Gowan
46,260 PointsThe Code Challenge starts with the index.html file. In the top left corner (Sorry! I put top right in my earlier reply) right before the code itself begins, there is a tab that says apps.js. Click it and on line 11 you can add your code.
varis darasirikul
10,832 PointsI already see it, thank you very much.