Input a city to retrieve weather information. The purpose of this project is to practice integration of an API, linter, Prettier and JavaScript compiler.
Project description can be found here
Live demo available here
- Display daily and hourly forecast data for a given location.
- Unique weather symbols for each forecast description.
- Side scrolling five day forecast
- HTML5
- CSS3
- JavaScript ES6
- Webpack
- JSON
- ESLint
- Prettier
- Babel
This project helped to reinforce the following skills:
- API integration
- Promises & Async/Await functionality
- ESLint integration
- Prettier integration
- Babel integration
- JSON
- serialization
- localStorage integration
- webpack
- JavaScript modules
- DOM manipulation
- CSS styling
This project could be improved with:
- Responsive design for mobile or tablet use
- Ability to toggle between metric or imperial units.
- Improved styling
- Cleaner code
- This resource is helpful when deploying to gh-pages after webpack is run.
- Clone this repository to your desktop.
- Navigate to the top level of the directory by running
cd weather-app. - Run
npm installto install the required dependencies. - Open
dist/index.htmlin your browser. - Run
npm run watchto update thedistfolder on save - Refresh page after saving to see changes

