I'm a beginner with bootstrap and we have a set of cards that we want to highlight when clicked. The structure of the cards is as follows:
<div class="container">
<div class="row">
<div class="card">
<div class="card-header">Header</div>
<div class="card-body text-dark">
<h5 class="card-title">title</h5>
<p class="card-text">Quick text</p>
</div>
</div>
<div class="card">
<div class="card-header">Header</div>
<div class="card-body text-dark">
<h5 class="card-title">title</h5>
<p class="card-text">Quick text</p>
</div>
</div>
<div class="card">
<div class="card-header">Header</div>
<div class="card-body text-dark">
<h5 class="card-title">title</h5>
<p class="card-text">Quick text</p>
</div>
</div>
</div>
</div>
We're looking to highlight a card when clicked. Any guidance on how to achieve this?
Check out the code on stackblitz.
Your assistance would be greatly appreciated.