Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Thomas Anthony
seal-mask
.a{fill-rule:evenodd;}techdegree
Thomas Anthony
iOS Development Techdegree Student 22,352 Points

PROBLEM 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
STAFF
Andrew Chalkley
Treehouse Guest Teacher

Hi 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

Andrew Chalkley
STAFF
Andrew Chalkley
Treehouse Guest Teacher

Hi 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
seal-mask
.a{fill-rule:evenodd;}techdegree
Thomas Anthony
iOS Development Techdegree Student 22,352 Points

This 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.