My carousel is only displaying the first image and seems to be stuck. The navigation buttons are also not functioning. Here is the code for reference:
<main>
<div id="slider" class="carousel slide" data-mdb-ride="carousel">
<div class="carousel-inner" >
<div class="carousel-item active">
<img src="images/hero1.png" class="d-block w-100" alt="Wild Landscape">
</div>
<div class="carousel-item ">
<img src="images/hero2.jpg" class="d-block w-100" alt="Camera">
</div>
<div class="carousel-item ">
<img src="images/hero3.jpg" class="d-block w-100" alt="Exotic Fruits">
</div>
</div>
<button class="carousel-control-prev" type="button" data-mdb-target="#slider" data-mdb-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-mdb-target="#slider" data-mdb-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</main>
<script src="js/bootstrap.min.js"></script>