I successfully created three blocks using the CARD class in bootstrap. Now, I am seeking to add a footer or a div to each card that allows for toggling "Show/Hide Details".
Despite attempting 10 different methods, the cards keep breaking for some reason whenever I try to implement the collapsing feature.
The ultimate objective is to have the last 3 lines within each card collapse when clicking on "Show payment schedule", which should then change to "Hide payment schedule".
If you know how to achieve this functionality without disrupting the structure of the card layout, please guide me on where to properly insert the div class for the collapsing element.
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<!-- Wrapper for Cards -->
<div class="row mx-n2">
...
</div>
<!-- End Wrapper for Cards -->