Unlike the accordion on the FAQ page, the accordion on the home page will only show one opened element at once.
A piece of HTML code controls the classes of elements inside the accordion.
All elements within this accordion have an “active” subclass to restore their open state styles.
When an element with the class name “tab_link” is clicked, every element removes its “active” subclass. And then, the clicked “tab_link” and its next sibling get the “active” subclass.
Link to the jQuery Builder: https://jquery-builder.webflow.io/