nss-evening-cohort-8 / nutshell-betels

nutshell-betels created by GitHub Classroom
1 stars 0 forks source link

Weather - Current Location #7

Closed ChaseHamby closed 5 years ago

ChaseHamby commented 5 years ago

User Story

On page load, user should be able to see the weather for the site location (ex: Houston).

Dev Notes

• On page load, there will be a API call on a predetermined location (Houston)

Acceptance Criteria

On page load, I should see a weather section on the page that displays the weather conditions for my pre-set location (Houston).

marshalloffutt commented 5 years ago

To close this ticket I still need to:

1. Edit and rename JSON file seed data for each user. Instead of 'weather1', 'weather2', etc it will be 'location1', 'location2', so as to not get it confused with my weatherGetter from weatherbit api. 2. Update my initialize weather function, get rid of the zipcode test. 3. Write function for zipcode getter in weatherData. This function will get the data from JSON file. 4. Write function to print IsCurrent location to the home page.