我想弄清楚我哪裏出錯了,但我沒有看到任何錯誤..讓銳利的眼睛的人告訴我,我哪裏出錯了。代碼如下所示..bootstrap漢堡包不按預期工作
<!DOCTYPE html>
<html>
<head>
<title>bootstrap</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="portfolio.css">
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css">
</head>
<body>
<nav class = "navbar navbar-inverse">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#icons">
<span class="sr-only">toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Zack</a>
</div>
<div class="collapse navbar-collapse" id="icons">
<ul class="nav navbar-nav">
<li><a href="#">About Me</a></li>
<li><a href="#">Skills</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Contact Me</a></li>
</ul>
</div>
</nav>
<script type="text/javascript" src="jquery-3.2.1.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
非常感謝stackoverflow開發人員。 :)
請你能完成的問題與預期結果或爲什麼你認爲它不工作? – PRMoureu
這就是整個代碼。當我點擊漢堡包時,它應該已經擴大了導航菜單顯示,但它不工作。 @PRMoureu – Zack