Bootstrap libs declaration [closed]

3

I have declared in the code the bootstrap libs like this:

Myerrorisonthepage,thatwhenIclickonthemenuicon,itdidnotexpandSee:

Anysuggestions?

<!DOCTYPEhtml><html><head><title>PousadaDeutschesHaus</title><metacharset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="resources/css/estilo.css">
<link rel="stylesheet" type="text/css"   href="resources/bootstrap/css/bootstrap.css">
<script type="text/javascript" scr="resources/js/jquery-3.1.0.min.js"> </script>
<script type="text/javascript" scr="resources/bootstrap/js/bootstrap.js"></script>
<body>
<div class="container">
    <div class="col-xs-8">
        <img src="resources/imagens/logo_deut.png"> 
    </div>
        <nav class="navbar navbar-inverse navbar-fixed-top col-xs-4">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">Brand</a>
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="navbar-inverse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="#">Home</a></li>
                    <li><a href="#about">About</a></li>
                    <li><a href="#contact">Contact</a></li>
                </ul>
                <div class="navbar-header navbar-right">
                    <p class="navbar-text">
                    <a href="#" class="navbar-link">Username</a>
                    </p>
                </div>
            </div>
        </nav>
    </div>
   </body>
   </html>
    
asked by anonymous 07.09.2016 / 17:05

1 answer

4

In the Javascript call you put scr= and the correct one is src= .

It would look like this:

<script type="text/javascript" src="resources/js/jquery-3.1.0.min.js"> </script>
<script type="text/javascript" src="resources/bootstrap/js/bootstrap.js"></script>
    
07.09.2016 / 17:44