Complete the code to add the main carousel container with the correct Bootstrap class.
<div id="carouselExample" class="carousel [1]" data-bs-ride="carousel"> <!-- Slides go here --> </div>
The main container for a Bootstrap carousel must have the class carousel to work properly.
Complete the code to wrap all slides inside the correct inner container.
<div id="carouselExample" class="carousel slide" data-bs-ride="carousel"> <div class="[1]"> <!-- Individual slides go here --> </div> </div>
The slides must be wrapped inside a div with class carousel-inner for Bootstrap to recognize the slide container.
Fix the error in the slide item class to make the first slide active.
<div class="carousel-inner"> <div class="carousel-item [1]"> <img src="slide1.jpg" class="d-block w-100" alt="Slide 1"> </div> </div>
The first slide must have the class active to be visible when the carousel loads.
Fill both blanks to add previous and next control buttons with correct classes.
<button class="carousel-control-[1]" type="button" data-bs-target="#carouselExample" data-bs-slide="prev"> <span class="carousel-control-[2]-icon" aria-hidden="true"></span> <span class="visually-hidden">Previous</span> </button>
The previous button uses the class carousel-control-prev and the icon uses carousel-control-prev-icon.
Fill all three blanks to add the next control button with correct classes and attributes.
<button class="carousel-control-[1]" type="button" data-bs-target="#carouselExample" data-bs-slide="[2]"> <span class="carousel-control-[3]-icon" aria-hidden="true"></span> <span class="visually-hidden">Next</span> </button>
The next button uses carousel-control-next for the button class, next for the slide attribute, and carousel-control-next-icon for the icon.