I'm trying to install Bootstrap but it isn't working. I got the css
and html
from the Bootstrap website, and they seems to work fine, but I think popper
and jquery
aren't working correctly. I have tried to install both with, npm
, from their webpages, and they don't show any error, but when I try to run the code they don't show what I want, which is a carousel working as it should be, the images just stay still, and don't change, only with css
and html
working. I know that isn't the carousel structure because I tried with cdn
. I have the part of the code without the carousel bellow. Is there something to do in those cases?
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="Arquivos2/bootstrap-4.5.0-dist/css/bootstrap.min.css">
<title>Hello, world!</title>
</head>
<body>
<style>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="/Arquivos2/jquery-3.5.1.js"></script>
<script src="/Arquivos2/jquery22/node_modules/@popperjs/core/dist/esm/popper.js"></script>
<script src="/Arquivos2/bootstrap-4.5.0-dist/js/bootstrap.min.js"></script>
</div>
</body>
</html>