I have incorporated the Bootstrap 5 carousel with a total of 9 items
The first item is a YouTube video, while the other 7 items are empty Divs with background-images
The issue arises where only the first three items seem to be working, and only three indicators are displayed
Furthermore, attempting to display the fourth item causes the carousel to stop functioning
<section class="slider">
<div id="carouselExampleIndicators" class="carousel h-100" data-bs-ride="carousel">
<div class="carousel-indicators">
// Carousel indicators code omitted for brevity
</div>
<div class="carousel-inner h-100">
// Carousel items code omitted for brevity
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators"
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" type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</section>