Learning project from The Odin Project curriculum.
- Get current and weekly forecast.
- Search cities worldwide.
- Switch between imperial and metric systems.
- Responsive design.
- JavaScript
- CSS
- HTML
- Visual Studio Code
- Linux terminal
- Git and GitHub
- Webpack
- ESLint + Airbnb JavaScript Style Guide
- Prettier
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You will need Node.js
and npm
installed globally on your machine.
- Get a free API key at https://openweathermap.com
- Clone the repo
git clone https://github.com/Artis-Dev/weather-app.git
- Install NPM packages
npm install
- Enter your API key in
./src/api.js
const API_KEY = 'YOUR API KEY';
- Build an app
npm run build
- Open
./dist/index.html
file with browser.
- Used revealing module pattern for better code organizing.
- Used public API to get data.
- Used Webpack to build the app.
- Used third-party library for date and time formating.
- Used CSS3 grid and flex to create layout.
- Used HTML5 semantic elements for better readability and structure.
- Used Git and GitHub for project management.
- Learned error handling a bit.
- Tried to maintain clean code.
- Cross tested on Firefox and Chromium based browsers.
ArtisDev - LinkedIn - artguk@protonmail.com