Closing Accordion

I found an answer from a post in 2018. I am using the JavaScript version.

At the time of making the post I really didn’t have anything so I left the link blank.