I am fairly new to using css and bootstrap and I am currently working on integrating a carousel into my angular web app. I copied the code from the bootstrap site but I am facing challenges in aligning everything properly. Additionally, the image slides do not seem to be functioning correctly - clicking on the previous or next arrow causes the page to reload and redirects to /#carouselExampleIndicators.
https://i.sstatic.net/s972r.png
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="img fluid" src="../../assets/img/actual.png" alt="First slide" width="300" height="300">
<div class="carousel-caption d-none d-md-block">
<h5>text 1</h5>
<p>...</p>
</div>
</div>
<div class="carousel-item">
<img class="img fluid" src="../../assets/img/image0.jpeg" alt="Second slide">
<div class="carousel-caption d-none d-md-block">
<h5>text 2</h5>
<p>...</p>
</div>
</div>
<div class="carousel-item">
<img class="img fluid" src="../../assets/img/Picture1.png" alt="Third slide">
<div class="carousel-caption d-none d-md-block">
<h5>text 3</h5>
<p>...</p>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
Any suggestions on styling or functionality would be greatly appreciated - thank you!!