Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Adi Taropa
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
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!