I'm trying to use Bootstrap 5 to display items in a row, like sets of 3 or 12, and have them slide into view one set at a time. However, when I add a carousel, the items end up stacked on top of each other. Here is the code snippet:
<div class="row carousel-item active container-fluid">
<div class="card col-lg-1">
<div class="images">
<img src="images/shoes.jpg" alt="">
</div>
<h3>Shoes</h3>
</div>
[...]
<button class="carousel-control-prev" data-bs-target="#image-slider" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" data-bs-target="#image-slider" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
Can anyone help me with this part? I'm not sure what I'm doing wrong.