SOLVED: Collapse / expand function

Hi everyone! I’m new to a code world, and I’m trying to do expandable menu on my website.
I’m using this template which works perfectly on my website: https://www.wix.com/code/home/example/Collapse-Elements

The question is how to customize this code so that when you expand the second (third or other) item, the first item does not collapse automatically?

Basically, I need a code that whenever:

  • the right arrow is clicked, the fold expands
  • the down arrow is clicked, the fold collapses
    (without any automatic expansion/folding based on other events).

Thanks,
Dina

For starters I would just removing the part of the code that collapse the other folds, so that users have to manually click to open or close them.

Thanks! This indeed solved the issue. Much appreciated!