You can use a link with the href attribute, or a button with the data-coreui-target attribute. In both samples, the data-coreui-toggle="collapse"" is required.
A <button> or <a> can show and hide multiple elements by referencing them with a selector in its href or data-coreui-target attribute. Multiple <button> or <a> can show and hide an element if they each reference it with their href or data-coreui-target attribute