I am creating a web page. Where I have an index and at the same level a folder js with three javascript files (bootstrap.min, jquery.min, popper.min). And another folder called css with two ficeros inside (styles.css and bootstrap.min.css). I have this small block of code where I try to create a responsive header.
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Etiqueta que sirve para IE -->
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Hara que la web tenga un tamaño normal independientemente del dispositivo -->
<link rel="stylesheet" href="css/bootstrap.min.css"> <!-- Cargamos el css de bootstrap.min.css -->
<link rel="stylesheet" href="css/estilos.css"> <!-- Cargamos el css de estilos.css -->
<title>Pagina</title>
</head>
<body>
<script src="js/jquery.min.js"></script> <!-- Cargamos el js de jquery -->
<script src="js/bootstrap.min.js"></script> <!-- Cargamos el js de bootstrap -->
<script src="js/popper.min.js"></script> <!-- Cargamos el js de popper -->
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toogle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Este boton cambia la barra de navegacion</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">DAW208</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li href="#">Inicio</li>
<li href="#">1</li>
<li href="#">2</li>
</ul>
</div>
</div>
</nav>
</body>
</html>
And I get this error in console:
I imagine that the problem comes from the fact that I am not loading the popper.min.js well but I am unable to solve it. The file is downloaded from the following link: