This is a mini-project that :
- Fetches weather for a specified city
- Displays temperature and weather description
- Allows the user to toggle between Celsius and Fahrenheit
- Displays a background image based on the weather
- HTML/CSS
- Javascript
- NPM
- Webpack
- Atom
- Clone the repository
- Navigate to the root directory of Weather App project
- Go to the 'dist' directory
cd dist
. - Open index.html or run it using your own live server
If you want to modify and compile the project
- Create an account on OpenWeatherMap (https://openweathermap.org/)
- Create an API key (https://openweathermap.org/api)
- Navigate to the root directory of the Weather App
- Open
env.js
file and replace with the API key you created previously - Run
npm install
to install dependencies - Run
npm run build
to compile/bundle the code or runnpm run start
to start the server
👤 Alaukik
- Github: @newhorizon-tech
- Twitter: @techintosh3
- Unsplash
- OpenWeatherMap API
- The Odin project
- MDN Web Docs
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!