A Pen by Dimitri Roche on CodePen.
Created
April 21, 2015 18:15
-
-
Save dimroc/8bc86162e1456d8ac272 to your computer and use it in GitHub Desktop.
MwWaYp
This file contains hidden or 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
| <html> | |
| <head> | |
| <script src="https://code.jquery.com/jquery-2.1.3.min.js"></script> | |
| <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> | |
| </head> | |
| <body> | |
| <div ng-app=""> | |
| <p>Name: <input type="text" ng-model="name"></p> | |
| <p ng-bind="name"></p> | |
| <div id="circle"></div> | |
| </div> | |
| </body> | |
| </html> |
This file contains hidden or 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
| // 1. Animate the circle in BOTH javascript and css | |
| // explain benefits of each | |
| // 2a. Retrieve via Ajax your local weather via | |
| // http://openweathermap.org/current | |
| // api.openweathermap.org/data/2.5/weather?q=London,uk | |
| // 2b. After retrieving the weather, retrieve a photo corresponding to the weather. | |
| // Discuss promises |
This file contains hidden or 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
| #circle { | |
| height: 50px; | |
| width: 50px; | |
| border-radius:25px; | |
| background-color: teal; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment