Accordion FAQ Help


I’m trying to make a classic Accordion - when you click the question, a panel opens. When you click again, the panel closes. I’ve managed to successfully create that - but when I duplicate it, the interaction is causing the second question clicked to open the FIRST panel. How do I tell it to target only the panel associated with the question, without having to make a million duplicated interactions?

Any help is appreciated!


Here is my public share link: Accordion Test


You can reuse the animations. In short - the answer is:

Hopefully it isn’t confusing.

1 Like