To create a left vertical (sidebar) navigation menu, I will be referencing the "Example" located at https://getbootstrap.com/docs/5.0/components/accordion/.
Assuming there are three HTML buttons:
<button onclick="myFunction1()">Button 1</button>
<button onclick="myFunction2()">Button 2</button>
<button onclick="myFunction3()">Button 3</button>
The functionality needed is that when a user clicks on Button 1, only "Accordion Item #1" expands. Similarly, clicking on Button 2 should expand "Accordion Item #2" and clicking on Button 3 should expand "Accordion Item #3."
I am looking for information on which Bootstrap classes to use in order to dynamically expand/collapse specific menu items so that I can incorporate them into jQuery. Any help or guidance on the necessary classes for achieving this dynamic expansion/collapse functionality would be greatly appreciated.