GarrettAnderson / assignments

1 stars 0 forks source link

Week 03 - Day 2 - Weather API #10

Closed mdewey closed 5 years ago

mdewey commented 5 years ago

Cloudy with a chance of Syntax Error

Using a popular weather API, Create a web site that allows a user to search for a location and gets that location's weather.

Objectives

Requirements

SIGN UP!

Explorer Mode

Adventure Mode

Epic Mode

Slides:

https://slides.com/markdewey-1/promises-apis-fetch-json

GarrettAnderson commented 5 years ago

Able to get weather data by zipcode and by city but only in the US.

GarrettAnderson commented 5 years ago

Was able to get local storage to store the zipcode when user inputs in the search field. Found the geolocation api but haven't been able to get the location to automatically populate.

GarrettAnderson commented 5 years ago

https://github.com/GarrettAnderson/weather-api

GarrettAnderson commented 5 years ago

got a local storage object to be returned on page load but it is still one that i used in the input value previously. the on page load continues to return the same zipcode that I used before to search. Kinda mixed up about the logic of the local storage - do I need to set the local storage in the search button click functions? Geolocation doesn't seem to be working correctly.

GarrettAnderson commented 5 years ago

Saw in the console that I got the current location to be returned in an object on page load but not sure how to extract that aside from using lat and long values.

mdewey commented 5 years ago

Your homework was marked: Meets Expectations

With LASERS

“With LASERS” — via Jason L Perry