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

HTML jQuery Basics (2014) Creating a Simple Lightbox Perform: Part 1

Adi Taropa
PLUS
Adi Taropa
Courses Plus Student 1,728 Points

Wouldn't a class be better than an ID?

I see you are giving the UL an ID, but that would restrict us to only one gallery on that page. Using a class instead would allow us to place multiple slideshows on that page. :)

1 Answer

Naomi Freeman
STAFF
Naomi Freeman
Treehouse Guest Teacher

Well, only gallery styled particularly like that :)

You could personalize it and make it a class and have multiple galleries, for sure. Tweak the tutorial and make it your own!