<!doctype html>
<html lang="pt-br">
<head>
<title>Teste</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- JQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<!-- Bootstrap -->
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<!-- Ícones do site Font Awesome -->
<script src="js/fontawesome-all.js"></script>
<link rel="stylesheet" type="text/css" href="css/estilos.css">
<script src="js/validacoes.js"></script>
</head>
<body>
<nav class="nav navbar-dark bg-dark justify-content-center">
<ul class="nav justify-content-end">
<li class="nav-item">
<a class="nav-link" data-toggle="modal" data-target="#anoModal" href="">
<i class="fas fa-home"></i>
<span> </span>casa
</a>
</li>
<li class="nav-item">
<a class="nav-link" href=""><i class="fas fa-car"></i><span> </span>carro</a>
</li>
</ul>
</nav>
<!-- Tela (modal) -->
<div id="anoModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<!-- Início Cabeçalho -->
<div class="modal-header">
<h5 class="modal-title">Informe o ano de pesquisa</h5>
</div>
<!-- Fim Cabeçalho -->
<!-- Início Corpo -->
<div class="modal-body">
<label class="col-form-label">Informe o ano:</label>
<input type="text" class="form-control" id="ano">
</div>
<!-- Fim Corpo -->
<!-- Início Rodapé -->
<div class="modal-footer">
<button type="button" class="btn btn-primary">Buscar</button>
</div>
<!-- Fim Rodapé -->
</div>
</div>
</div>
</body>
</html>
Good afternoon, guys.
I'm starting to study web development and I'm having trouble making a modal (Bootstrap) visible. After I activate the link that will show the modal, I even realize that it is present in the page (the links behind are "disabled" when I move the mouse over), but the components do not appear. What can I be doing wrong?