I'm encountering an issue with a bootstrap 5 accordion. The panels expand correctly, but they do not collapse back down. I'm unsure if there's a problem with my JS or CSS. No errors are showing up in Chrome's console.
When I transferred the code to Codepen, everything worked smoothly.
<h2>Important Dates (Fall 2022)</h2>
<div class="accordion">
<div class="accordion-group">
<div class="accordion-alt-1">
<div class="accordion-heading"><a class="accordion-toggle collapsed" data-bs-toggle="collapse" aria-expanded="false" href="#collapse_d15e639">
16-Week Classes (August 22 - December 16)</a></div>
</div>
<div id="collapse_d15e639" class="accordion-body collapse">
<div class="accordion-inner">
<div class="harperTable">
// table content here...
</tr>
</tbody>
</table>
</div>
</div>
</div>
.