In my angular project, I've incorporated bootstrap cards that display heading and horizontally arranged data (using horizontal cards).
component.html
<div class="bs-example">
<div class="card" id="dd" style="max-width: 800px;">
<div class="row no-gutters">
<div class="col-sm-3" >
<h5>heading 1</h5>
<div class="card-body">
<p>info 1.1</p>
<p>info 1.2</p>
</div>
</div>
<div class="col-sm-3" >
<h5>heading 2</h5>
<div class="card-body">
<p>info 2.1</p>
<p>info 2.2</p>
</div>
</div>
<div class="col-sm-3" >
<h5>heading 3</h5>
<div class="card-body">
<p>info 3.1</p>
<p>info 2.2</p>
</div>
</div>
</div>
</div>
</div>
I need to turn the headings into tabs, where clicking on a tab will reveal the corresponding data in a similar horizontal layout. If one heading has multiple data points, it should be displayed in separate cards following the initial card. I'm struggling with this setup as a beginner with bootstrap. Can anyone provide assistance?
I aim to showcase the information in horizontally positioned cars with each tab click, also displaying additional information if there are multiple data under one heading.