Reputation: 21
Here is the carousel I am working on in Codeply. The slide will not advance or (slide) to the next slide, it remains fixed on the first yellow slide. I try to preview it, same thing or color & alt text don't even show.
Please help..
\PLEASE NOTE: I am taking the Angela Yu Web Dev Bootcamp via Udemy & all is going well except for an issue I am experiencing when attempting to follow along with her Bootstrap Carousel.
What I think the issue could be:
I'm overlooking something small (extra div, missed tag, etc)
Wrong Bootstrap used in Codeply settings
Angela Yu video is slightly out of date (somethings have changed & the bootstrap she was using maybe diff now)
Upvotes: 1
Views: 911
Reputation: 1
Upvotes: 0
Reputation: 111
Today on 18-June- 2022
while learning the same course, I have observed that the issue still persists.
After some research, when I have changed bootstrap version to Bootstrap 4.6.0
, Carousel started working fine.
HTML
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel" data-interval="1000">
<div class="carousel-inner">
<div class="carousel-item active" style="background-color: green;">
<img class="d-block w-100" src="..." alt="First slide">
</div>
<div class="carousel-item" style="background-color: blue;">
<img class="d-block w-100" src="..." alt="Second slide">
</div>
<div class="carousel-item" style="background-color: yellow;">
<img class="d-block w-100" src="..." alt="Third slide">
</div>
</div>
</div>
CSS
.carousel-item {
height:500px;
}
Frameworks
Bootstrap 4.6.0
Upvotes: 0
Reputation: 11
I had the same issue as well. I switched codeply bootstrap from 4 to 5 and it worked
Upvotes: 1