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

JavaScript

Shannon Yeh
Shannon Yeh
8,987 Points

Issue with Adding Static Map

whatever I do this is not right i am on the static map section of query Set the query parameter of "markers" to equal the URL encoded address of "622 E Washington Street, Suite 240, Orlando, FL 32801" not sure why my code doesnt work

"http://maps.googleapis.com/maps/api/staticmap?key=AIzaSyAn8fk75K8kCdW6pQ4B7yoBHJNrUbleieY&sensor=false&size=400x300&markers=622+E+Washington+Street,+Suite+240 +Orlando+FL+32801" alt="622 E Washington Street, Suite 240, Orlando, FL 32801">

</html>

missing a jquery from header ?

Hey Shannon,

I'm having the same problem, did you find a solution to this?

2 Answers

I typed this and got it correct, I think you just left out a comma andone space between 240 and Orlando.

src="http://maps.googleapis.com/maps/api/staticmap?key=AIzaSyAn8fk75K8kCdW6pQ4B7yoBHJNrUbleieY &sensor=false&size=400x300&markers=622+E+Washington+Street,+Suite+240,+Orlando,+FL+32801" alt="622 E Washington Street, Suite 240, Orlando, FL 32801">>

I addressed this in your other post. You have to replace your spaces with +'s you can't have a URL with spaces, try going to www.goog le.com ;)