Lab2 - a190884810/CS5551 GitHub Wiki

Single Page Application

Requirements:

  1. The page should have two text fields that takes state code for example: MO and city name: Kansas City.
  2. Pass those values and display weather details ofthe city like temperature, wind, pressure, humidity etc.
  3. Also display the hourly forecast (any 2-3 details from the API) for 5 hours in the city entered

Code Snip

  • Basically from Angular and bootstrap

  • Building a searching bar with bootstrap

  • Landing Angular and Weather API

  • Define the function to get the information

  • Using loop to get the forecast data

  • Finally deploy it on the website

Deployment

  • Main page
  • Result

Code:

https://github.com/a190884810/CS5551/tree/master/Lab2