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 jQuery Basics (2014) Creating a Simple Lightbox Perform: Part 3

My image is not displaying in the overlay. My code seems to be identical to the code on the screen.

My image is not displaying in the overlay. My code seems to be identical to the code on the screen.

K Cleveland
K Cleveland
21,839 Points

You should post your code so that can see what you have. :)

Simon Coates
Simon Coates
28,694 Points

I had similar behaviour. Turned out I added an image element, not an img element. Everything seemed to work (an element was created and attached with the right attributes), but the browser didn't know how to render the element.

Nouh Ahmed
Nouh Ahmed
7,085 Points

I have the same problem, so you should add your code to see the problem.