1
good afternoon or good night. Someone could check what’s going on in my code, insert a Carousel according to the Bootstrap 4 document and even then it doesn’t work, Carousel isn’t doing the image exchange gets stopped only at the first image and doesn’t come out of it, I have already checked on the console of Google Chrome(inspect element) and no error, js are being read, already put the Scripts in form of link equal is on the site of Bootstrap and unsuccessfully, follows the code.
Head:
<head>
<meta charset="utf-8">
<link href="css/bootstrap.css" type="text/css" rel="stylesheet">
<link href="css/style.css" type="text/css" rel="stylesheet">
<script type="text/javascript" href="js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" href="js/bootstrap.min.js"></script>
<script type="text/javascript" href="js/popper.js"></script>
<script type="text/javascript" href="js/achive.js"></script>
<title> - </title>
Code of the Carousel:
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel" data-interval="1500">
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="img/img1.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="img/img2.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="img/img3.png" alt="Third slide">
</div>
</div>
</div>
jQuery used: https://code.jquery.com/jquery-3.4.1.min.js Bootstrap 4 js used: https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js Popper used: https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.js
From now on, thank you very much.
What doesn’t work? Appearance? Behavior? Is there an error in the browser console? Have you checked if the CSS and JS files linked to the <head> are being loaded correctly? Please edit the question.
– bfavaretto
Thanks for the sign, I’ve adjusted the question.
– blackstv1