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

Can someone recommend a good article on image gallery that changes depending on which link you click?

I'm trying to find an example of clicking a element, and when that specific element is clicked, it will display images that relate only to that element/link.

For example, if you visited a pet store website, and you hit a part of the site that had a gallery, and you wanted to filter that gallery, by say, "Dogs" - you would click the "dogs" link, and it would filter all the dogs.

The example I've found so far relate to clicking a thumbnail image, that displays that same image, but larger. I guess thats very close to what I'm looking for

Thanks