Not a ton to report on this week as far as new material. We expanded on everything covered last week and stretched our wings a little more with asynch principles.
We revisited object constructors and learned the call, apply and bind methods. We also took a closer look at this and prototypes. Backbone was introduced in theory, but we are not utilizing it yet (that will be next week).
Again, lots of working with APIs, routing and Promises.
Our project the later half of the week was the first open-ended design challenge we've had. Up to this point we have re-created existing layouts to focus on building our JS skills and not worry about styling.
The concept was to build a weather app sourcing data from Dark Sky/Forecast.io that rendered three views (current weather, daily, and hourly forecasts) dependent on routing. Finally, we could add an input/search function utilizing location data from the Google Maps API.
Design updates to come on mine, but the data is working fine. View the work in progress here. ☀️🌤⛅️🌥🌦☁️🌧⛈🌩⚡️🌨🌪
Implementing Skycons based on the string value returned from the Dark Sky API JSON data wasn't entirely intuitive (we needed help from our teacher to figure this out), but they are a nice touch.