Closed gstark closed 5 years ago
thought I turned this in, apparently I had not https://github.com/mrected/cloudy-with-a-chance-of-syntax-error cloudy-with-a-chance-of-syntax-error-chris.surge.sh
Your homework was marked: Meets Expectations
“With LASERS” — via Jason L Perry
Yesterday you created a simple weather viewer. Today, we discussed a new topic,
Object Oriented Programing
. This involved the thought of abstraction and encapsulation (among other ideas). For tonight, refactor your code to use classes to encapsulate and abstract your code and ideas from yesterday.Objectives
Requirements
Explorer Mode
WeatherAPI
. It should have a view properties suchAPI_URL
and few methods such asgetWeatherByZipCode
addForecastToDOM
andgetUserInput
git push origin oop-refactor
Adventure Mode
DOMContentLoaded
. That method should be calledrender
Epic Mode