jernestmyers / weather-app

a weather app built with the openweather API. users can search locations in several formats and toggle between imperial/metric units.

Home Page:https://jernestmyers.github.io/weather-app/

Repository from Github https://github.comjernestmyers/weather-appRepository from Github https://github.comjernestmyers/weather-app

weather app

this is project 5 from the odin project's full stack javascript course.

screenshot of the weather app

project objectives

  1. fetch data from the OpenWeather API based on a user's input.
  2. process the JSON data from the API and render the desired data to the page.
  3. allow user to toggle between metric and imperial units.

technologies used

html5 css3 javascript webpack

app features

  1. first section displays the city, date, time, and the times of sunrise/sunset.
  2. second section displays current conditions like temperature, weather conditions, humidity, UV index, and wind speed.
  3. third section displays the week's forecast.
  4. built a toggle switch to convert between metric/imperial units.
  5. built a search bar for user to input a desired location in several formats, like by zip code or city.

areas for improvement

  1. the overall aesthetic could be dramatically improved upon. i like its general simplicity but the spacing needs improvement.
  2. adding the state and country would make it more clear which city is displayed. for example, is it Paris, TX or Paris, France?
  3. media queries are needed for improved responsiveness. as an example, could opt to fix the forecast section by setting the width to a percentage and then adding a scrollbar.

live version

click here for a live version!

About

a weather app built with the openweather API. users can search locations in several formats and toggle between imperial/metric units.

https://jernestmyers.github.io/weather-app/


Languages

Language:JavaScript 100.0%