I have a carousel/slider that is automatically moving, but I want to stop it so that it only moves when the navigation arrows are clicked. Here is a picture of the slider https://ibb.co/HPr9rJR. Currently, it is moving on its own to the left side, but I would like it to only move by clicking on the "<", ">" icons. The code for the slider can be found on this CodePen link:
codepen.io/decibeldesign/details/bMrQKN
Here is an excerpt of the code used:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs /twitter-bootstrap/4.0.0/css/bootstrap.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1 /jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap /4.0.0/js/bootstrap.min.js"></script>
<div class="col-md-10 col-xs-8 my-5 text-center5">
<div class="row d-flex align-items-center">
<div class="col-1 d-flex align-items-center justify-content-center">
<a href="#carouselExampleIndicators" role="button" data-slide="prev">
<div class="carousel-nav-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 129 129" xmlns:xlink="http://www.w3.org/1999/xlink" style="height: 50px;">
<path d="m88.6,121.3c0.8,0.8 1.8,1.2 2.9,1.2s2.1-0.4 2.9-1.2c1.6-1.6 1.6-4.2 0-5.8l-51-51 51-51c1.6-1.6 1.6-4.2 0-5.8s-4.2-1.6-5.8,0l-54,53.9c-1.6,1.6-1.6,4.2 0,5.8l54,53.9z"/>
</svg>
</div>
</a>
</div>
<div class="col-6">
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="row">
<div style="" class="col-12 col-md d-flex align-items-center justify-content-center">
<div class="col-md-2 col-xs-12 upcoming-btn">
<span href="" class="btn btn-success btn-lg dashboard-icon" style="width: 200px; height: 150px;">
<p style="padding-top: 15px; font-size: 25px; font-weight: bold;">subject</p>
<p style="font-size: 25px; font-weight: bold;">date</p>
<p style="font-size: 25px; font-weight: bold;">Upcoming</p>
</span>
</div>
</div>
<div style="" class="col-12 col-md d-flex align-items-center justify-content-center">
<div class="col-md-2 col-xs-12 upcoming-btn">
...
</div>
</div>
</div>
</div>
<div class="carousel-item">
...
</div>
</div>
</div>
</div>
...
</div>
</div>