title: Bootstrap 4 carousel not working?
body: <p>I have the following BS4 Carousel code, (made it using this tutorial <a href="https://www.youtube.com/watch?v=n8ItscKLf7s&amp;list=PLRtjMdoYXLf47brThg9-nTj8HSq8cQ0ND&amp;index=53" rel="nofollow noreferrer">https://www.youtube.com/watch?v=n8ItscKLf7s&amp;list=PLRtjMdoYXLf47brThg9-nTj8HSq8cQ0ND&amp;index=53</a>), However the code is not working, the first image is displayed but I dont know for what reasons carousel is not controlled and it does'nt go to the next image in any case. What is the possible solution?</p>
  
  <pre><code>&lt;div class="container"&gt;
          &lt;div class="row"&gt;
              &lt;div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12"&gt;
                  &lt;br /&gt;
                  &lt;div id="carousel-example-generic" class="carousel-slide" data-ride="carousel"&gt;
                      &lt;ol class="carousel-indicators"&gt;
                      &lt;li data-target="#carousel-example-generic" data-slide-to="0" class="active"&gt; &lt;/li&gt;
                       &lt;li data-target="#carousel-example-generic" data-slide-to="1"&gt; &lt;/li&gt;
                       &lt;li data-target="#carousel-example-generic" data-slide-to="2"&gt; &lt;/li&gt;
                      &lt;/ol&gt;
  
                      &lt;div class="carousel-inner" role="listbox"&gt;
                          &lt;div class="carousel-item-active"&gt;
                              &lt;img src="images/1.jpeg" alt="First-Slide"&gt;
                          &lt;/div&gt;
                          &lt;div class="carousel-item"&gt;
                              &lt;img src="images/2.jpeg" alt="Second-Slide"&gt;
                          &lt;/div&gt;
                          &lt;div class="carousel-item"&gt;
                              &lt;img src="images/3.jpeg" alt="Third-Slide"&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"&gt; 
                      &lt;span class="icon-prev" aria-hidden="true"&gt;&lt;/span&gt;
                      &lt;span class="sr-only"&gt; Previous &lt;/span&gt;
                      &lt;/a&gt;
                      &lt;a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"&gt; 
                      &lt;span class="icon-next" aria-hidden="true"&gt;&lt;/span&gt;
                      &lt;span class="sr-only"&gt; Next &lt;/span&gt;
                      &lt;/a&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>