A simple photo gallery, with jQuery

If you want to see an improved version of the photo gallery from last week’s class (March 11), I have uploaded the files to GitHub:

See all the files. You can also download a zipped package of all the files there — just find the button near the top that says “ZIP.”

You can also test-drive the four versions of the photo gallery.

  • Version 0 is the one we saw in class, where the big photos disappear from the DOM.
  • Version 1 fixes that problem.
  • Version 2 and 3 add captions to the photos.

The photo gallery uses only jQuery code you have already learned from Code School!