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

Giuseppe Elia Brandi
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Giuseppe Elia Brandi
Front End Web Development Techdegree Graduate 69,630 Points

Customizing the Map Markers task 1/2 - In app.js, on line 16, set the variable "markerImage" to "baby-cupcake.png"

Good day all, I have some difficulties with the first code challenge. The code added is the following:

var markerImage = "img/baby-cupcake.png";

Unfortunately is not working and I get the following message :

Bummer! The string 'baby-cupcake.png' hasn't been assigned to the 'markerImage' variable.

Does anybody have a better idea? it seems a very simple task but I may have missed something.

Thank you

4 Answers

James Barnett
James Barnett
39,199 Points

@Giuseppe - +1 for solving your own problem :star:

Yay! Great job Giuseppe! :D