Hi Dear Experts can you help me in the following issue? While trying to make slideshow using bootstrap I am facing two problems, 1. Slides are stacked beneath another. 2. Slides do not ride or slide from one side to other. 3. Next/Prev glyphicons not shown.
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
Besides, I included the latest bootstrap javascript links also. These links are placed just above the closing body tag. My code is given below.
<div id="my-slider" class="carousel slide" data-ride="carousel" data-interval="2000">
<!-- indicators dot nav -->
<ol class="carousel-indicators">
<li data-target="#my-slider" data-slide-to="0" class="active"></li>
<li data-target="#my-slider" data-slide-to="1"></li>
<li data-target="#my-slider" data-slide-to="2"></li>
</ol>
<!-- wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item-active">
<img src="images/background-2.jpg" alt="fruits" style="width: 100%"/>
<div class="carousel-caption">
<h1>This is first slide</h1>
</div>
</div>
<div class="item-active">
<img src="images/background-3.jpg" alt="fruits" style="width: 100%"/>
<div class="carousel-caption">
<h1>This is second slide</h1>
</div>
</div>
<div class="item-active">
<img src="images/background-4.jpg" alt="fruits" style="width: 100%"/>
<div class="carousel-caption">
<h1>This is third slide</h1>
</div>
</div>
</div>
<!-- controls or next or prev buttons -->
<a href="#my-slider" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a href="#my-slider" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>