Hi @gbtan1991
Your solution is looking great
One way to implement the logic is to
-
use a function to reset the state of all the accordions when any accordion is clicked.
-
once this is fired off, the current accordion being clicked can be opened.
I hope this helps
Above all, great job on building this solution