Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vikyw89/weatherapp


https://github.com/vikyw89/weatherapp

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# weatherApp

live preview : https://vikyw89.github.io/weatherApp/

Assignment




  1. Set up a blank HTML document with the appropriate links to your JavaScript and CSS files.

  2. Write the functions that hit the API. You’re going to want functions that can take a location and return the weather data for that location. For now, just console.log() the information.

  3. Write the functions that process the JSON data you’re getting from the API and return an object with only the data you require for your app.

  4. Set up a simple form that will let users input their location and will fetch the weather info (still just console.log() it).

  5. Display the information on your webpage!

  6. Add any styling you like!

  7. Optional: add a ‘loading’ component that displays from the time the form is submitted until the information comes back from the API.

  8. Push that baby to github and share your solution below!