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

Overlay is not working

Whenever I click on an image, it opens in a new page with the white background like there is no code at all.

snapshot: https://w.trhou.se/one37kfgcm

2 Answers

Erik Nuber
Erik Nuber
20,629 Points

Just forked your site and it all appears to be working outside of the CSS for the caption text.

It may be a browser related issue. I was going through the course in Chrome, for obvious reasons (V8), and was having the same issue: opens the image in the top-left corner of a new page with white background. I switched to FF and it works correctly. I know there are sometimes issues with caching, but even clearing cache did not work with Chrome. Personally I prefer Chrome, but for this course I think using FF is the better choice since it doesn't seem to have the same inherent issues. Hope this helps.