Created
December 5, 2016 16:56
-
-
Save bcuz/d2ed021bb604d857d53e9cd318a318d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delete everything |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link href="https://s3.amazonaws.com/codecademy-content/projects/bootstrap.min.css" rel="stylesheet" /> | |
<link href="css/main.css" rel="stylesheet" /> | |
<!-- Include the AngularJS library --> | |
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.5/angular.min.js"></script> | |
</head> | |
<body ng-app="ForecastApp"> | |
<div class="main" ng-controller="MainController"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-sm-5 col-sm-offset-7"> | |
<h1>{{ fiveDay.city_name }}</h1> | |
<h2>5-day forecast</h2> | |
<div class="forecast" ng-repeat="day in fiveDay.days"> | |
<div class="day row"> | |
<!-- datetime --> | |
<div class="weekday col-xs-4"> | |
</div> | |
<!-- icon --> | |
<div class="weather col-xs-3"> | |
</div> | |
<div class="col-xs-1"></div> | |
<!-- high --> | |
<div class="high col-xs-2"> | |
</div> | |
<!-- low --> | |
<div class="low col-xs-2"> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</ul> | |
</div> | |
</div> | |
<!-- Modules --> | |
<script src="js/app.js"></script> | |
<!-- Controllers --> | |
<script src="js/controllers/MainController.js"></script> | |
<!-- Services --> | |
<!-- Directives --> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.controller('MainController', ['$scope', function($scope) { | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment