I have already researched several topics and have not found the problem. The jQuery function does not work on my page, and when I give f12 in the chrome browser, it informs that jquery is not imported (Uncaught ReferenceError: $ is not defined javascript). I was using jquery on the machine, and I switched to cdn and the problem persists. I guess it's a relatively silly thing, but I've been trying to solve the problem for days.
html:
<!DOCTYPE html>
<html>
<head>
<title>Semana da Engenharia</title>
<meta charset="utf-8">
**<script src="js/js.js" type="text/javascript"></script>**
**<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"type="text/javascript"></script>**
<!-- responsável pelas funções de máscara em jQuery -->
**<script src="js/jquery.mask.min.js" type="text/javascript"></script>**
<link rel="stylesheet" type="text/css" href="cssIndex.css">
<!-- responsável pelas funções em boostrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script><!--responsávelporinstanciarosicones--><linkrel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<img src="bannerWeek.jpg" id="bannerWeek">
<div id="divLogin">
<select required id="comboboxLogin">
<option value="" disabled selected>Selecione o tipo de usuário</option>
<option value="administrador">Administrador</option>
<option value="visitante">Visitante</option>
</select>
<input type="text" name="senhaUsuario" id="senhaLogin" placeholder="Informe sua senha">
<span class="iconInPasswordField"><i class="fa fa-lock"></i></span>
<span id="iconInPasswordField" data-toggle="tooltip"
title="A sua senha é o seu RA!"><i class="fa fa-info"></i></span>
<input type="submit" value="ACESSAR" id="btnAcessar" onclick="enviarLogin()">
</div>
<span id="edicao2019">6º Edição - 2019</span>
<span id="unifaeLogo">UNI<span style="color: red">FAE</span></span>
</body>
</html>
javascript:
/*responsavel pela mensagem de ajuda "qual minha senha?"
o que ele faz realmente?*/
$(document).ready(function(){
$("#senhaLogin").mask("99999-9");
$('[data-toggle="tooltip"]').tooltip();
});
/* redireciona para a respectiva página de acordo com o usuário*/
function enviarLogin(comboboxLogin) {
var op = document.getElementById("comboboxLogin").value;
if(op == "visitante") {
window.location.href = "userPage.html";
}
else
if (op == "administrador") {
window.location.href = "admPage.html";
}
else
alert("Informe o tipo de usuário!");
}