Ajuda com php, html, bootstrap e css

08/11/2019

6

Tenho um carrossel porém as setas para ir para a próxima imagem ou anterior não está pegando.

Meu código php:

<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Alucar</title>
<link href="estiloTela1.css" type="text/css" rel="stylesheet">
<!-- BOOTSTRAP: -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">

<!-- Bootstrap core JavaScript -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>

<div id="topo">
<div id="divImg" class="container">
<img id="imagem" src="img/logo.jpg" class="img-fluid" alt="Imagem responsiva"/>
</div>
<nav class="navbar navbar-expand-lg navbar-dark" style="background-color:#4682B4;">
<!-- ESSE ícone deve mostrar o MENU ao ser clicado? -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Alugue Já<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" style="color:white" href="#">Nossa Frota</a>
</li>
<li class="nav-item">
<a class="nav-link" style="color:white" href="#">Login</a>
</li>
</ul>
</div>
</nav>
</div>

</head>

<body>

<div class="bd-example">
<div id="carouselExampleCaptions" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleCaptions" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleCaptions" data-slide-to="1"></li>
<li data-target="#carouselExampleCaptions" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="img/imagemCarros.jpg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Ofertas!</h5>
<p>Viaje para São Paulo!</p>
</div>
</div>
<div class="carousel-item">
<img src="img/imagemCarros.jpg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Ofertas!</h5>
<p>Alugue um carro para Araraquara.</p>
</div>
</div>
<div class="carousel-item">
<img src="img/imagemCarros.jpg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Ofertas!</h5>
<p>Alugue um carro para Taquaritinga.</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleCaptions" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleCaptions" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>

<div id= "rodape">
<footer class="footer mt-auto py-3" >
<div id="divRodape">
<span id ="txtRodape" class="text" >Endereço</span>
</div>
<div id="divRodape">
<span id ="txtRodape" class="text">Atendimento 4003-5544</span>
</div>
</footer>
</div>

</body>

</html>
Responder