Skip to content

A website where a user can enter a city name and display the weather condition in that particular city. The user can also toggle and display the temperature in Celsius or in Fahrenheit. This application is developed using Javascript, CSS and HTML

Notifications You must be signed in to change notification settings

OdongAlican/weather-app

Repository files navigation

weather-app

This projects implements using fetch method to return data from the weather api and return promises. The project also uses the try-catch block to handle scenarios where there is an error in the response from the API

Built With

  • HTML,
  • CSS,
  • JavaScript
  • Webpack

Live demo Link

live link

Landing page

Prerequisites

  • Any kind of browser supporting CSS3 and HTML5

Setup

  • Fork the repo to your remote repository.
  • Clone or download the repository to your local machine.

Usage section.

  • Run npm installto install the project pakages
  • Run npm run devto bundle the packages for development. Dev is created for development, meaning that it supports hot module replacement, dev server, and a lot of things that assist your dev work
  • Run npm run build when you want to deploy the project for production.
  • Open the index.htmlfile in your browser.
  • Type in a correct city or town name in the input field.
  • If the input value is correct, the weather information about that city or town will be displayed.
  • Feel free to change the temperature from kelvin to celcius by clicking the Temperature toggle Button

Author

👤 Odong Sunday

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

About

A website where a user can enter a city name and display the weather condition in that particular city. The user can also toggle and display the temperature in Celsius or in Fahrenheit. This application is developed using Javascript, CSS and HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published