I've tried everything, but it's still not working. Can anyone help me out? Here are some photos.
When I view the card on mobile, I want it to stay centered. Could there be some missing code that I'm overlooking? I would greatly appreciate it if someone could solve this for me. I'm fairly new to using bootstrap and not very knowledgeable in HTML and CSS. Here is the code snippet:
<!-- Members Card -->
<div class="container my-5">
<h1 class="text-center mb-3"><b>MEMBERS</b></h1>
<div class="d-flex justify-content-around">
<div class="row">
<!-- Jennie -->
<div class="col-md col-sm">
<div class="card" style="width: 15rem;">
<img src="{image}" class="card-img-top" alt="...">
<div class="card-body text-center">
<h5 class="card-title"><b>{Name}</b></h5>
<p class="card-text">{desc}</p>
<a href="#" class="btn btn-dark btn-outline-secondary text-white">show more</a>
</div>
</div>
</div>
<!-- Jisoo -->
<div class="col-md col-sm">
<div class="card" style="width: 15rem;">
<img src="{image}" class="card-img-top" alt="...">
<div class="card-body text-center">
<h5 class="card-title"><b>{Name}</b></h5>
<p class="card-text">{desc}</p>
<a href="#" class="btn btn-dark btn-outline-secondary text-white">show more</a>
</div>
</div>
</div>
<!-- Lisa -->
<div class="col-md col-sm">
<div class="card" style="width: 15rem;">
<img src="{image}" class="card-img-top" alt="...">
<div class="card-body text-center">
<h5 class="card-title"><b>{Name}</b></h5>
<p class="card-text">{desc}</p>
<a href="#" class="btn btn-dark btn-outline-secondary text-white">show more</a>
</div>
</div>
</div>
<!-- Rose -->
<div class="col-md col-sm">
<div class="card" style="width: 15rem;">
<img src="{image}" class="card-img-top" alt="...">
<div class="card-body text-center">
<h5 class="card-title"><b>{Name}</b></h5>
<p class="card-text">{desc}</p>
<a href="#" class="btn btn-dark btn-outline-secondary text-white">show more</a>
</div>
</div>
</div>
</div> <!--close tag for row-->
</div> <!--close tag for d-flex -->
</div> <!--close tag for container-->
<!-- End Members Card -->