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.


Helen Anderson
Helen Anderson
6,519 Points

Issue setting map markers using JQuery

Could someone please tell me what I am doing wrong. Thanks in advance


Marker in google maps - code challenge: Set the query parameter of "markers" to equal the URL encoded address of "622 E Washington Street, Suite 240, Orlando, FL 32801"


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

The error message is: "The 'markers' value is incorrect".

3 Answers

Helen Anderson
Helen Anderson
6,519 Points

Ok got it working appears the problem was the commas, i.e. 622+E+Washington+Street,+Suite+240,+Orlando+FL+32801

by the way ... I could not copy and paste my successful code because the pop up success message does not allow returning to the code challenge answer. Is this by design? Sometimes, I'm quite pleased with what I've managed and would like to save code snippets.

sorry to jump on someone else's thread but I'l having the same issue. Everything looks fine:

<img 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">

But I can't get passed the 5th step as the "The 'markers' value is incorrect"

TIA, Darren

Fixed it, it was a comma again or lack there of after Orlando