Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Navigation Menu</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
Expand All @@ -18,10 +19,10 @@

<!-- When a link in the menu is clicked, we set the active variable -->

<a href="#" class="home" ng-click="active='home'">Home</a>
<a href="#" class="projects" ng-click="active='projects'">Projects</a>
<a href="#" class="services" ng-click="active='services'">Services</a>
<a href="#" class="contact" ng-click="active='contact'">Contact</a>
<a href="#" class="home col-xs-3" ng-click="active='home'">Home</a>
<a href="#" class="projects col-xs-3" ng-click="active='projects'">Projects</a>
<a href="#" class="services col-xs-3" ng-click="active='services'">Services</a>
<a href="#" class="contact col-xs-3" ng-click="active='contact'">Contact</a>
</nav>

<!-- ng-show will show an element if the value in the quotes is truthful,
Expand All @@ -35,4 +36,4 @@
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion app/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ p b{
border-radius:2px;
text-transform:uppercase;
font-size:18px;
}
}