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 trialThomas Anthony
iOS Development Techdegree Student 22,352 PointsPROBLEM SOLVED: Code Challenge: Fixing Info Windows and Google Maps - Task 4/5
There seems to be a bug. When cutting and pasting the script tags from the bottom of the locations page, I am greeted with a "Bummer! There's something wrong with your script ordering. You need 'jquery.js', then Google Maps and then app.js". The script tags are in the order in which they were structured originally within the locations page; no rearrangement of the tags have taken place. As it stands, it seem any progression beyond this point is impossible.
5 Answers
Andrew Chalkley
Treehouse Guest TeacherHi Thomas,
Could you send the full HTML from the map.html page please?
You can either use markdown formatting or a CodePen.io to share it.
Thanks Andrew
Thomas Anthony
iOS Development Techdegree Student 22,352 PointsCertainly Andrew,
Checkout the code here at http://codepen.io/anon/pen/CykvB
Andrew Chalkley
Treehouse Guest TeacherHi Thomas,
I copied and pasted your code in and it didn't pass when I left the scripts on the old page. But if I removed them it passed.
The question asks you to cut them. If you can confirm that's what you did I'll put in a clearer error message :)
Regards Andrew
Thomas Anthony
iOS Development Techdegree Student 22,352 PointsThis is embarrassing, it seems I made a mistake. I attempted to cut the script tags, but left the call to the jquery.js resource in the locations page to emulate the video. I was working in the context of the video and not the code challenge. Sorry for the trouble Andrew, I passed the code challenge without a hitch this time. As you were.
Andrew Chalkley
Treehouse Guest TeacherNo worries! Keep it up :)