Giter Club home page Giter Club logo

weathernaut's Introduction

WeatherNaut - Weather App

WeatherNaut is a simple weather app project created using HTML, CSS, and JavaScript. It utilizes Webpack for bundling and local storage to save the last searched location, ensuring that users can easily access their preferred weather updates. The app also features two modes, light and dark, which change automatically based on the system preferences.


Live Demo

Check out the live demo: WeatherNaut


Features

  • Local Storage: The app saves the last searched location using local storage, providing convenience for users who frequently check the weather for a specific area.

  • Dark and Light Modes: Users can enjoy a personalized experience with two modes, light and dark, which automatically adjust based on the system settings.

  • Free Weather API: The app fetches weather data using the WeatherAPI.com API, ensuring accurate and up-to-date information.


Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/a-sad-dan/weatherNaut.git
  2. Navigate to the project directory:

    cd weatherNaut
  3. Install dependencies:

    npm install
  4. Build the project:

    npm run build
  5. Open the dist/index.html file in your preferred browser to view the app.


Usage

  1. Upon opening the app, it will automatically load the last searched location (if available) from local storage.

  2. To search for a new location, enter the city name in the search bar and press Enter or click the search button.

  3. The app will display the current weather information for the searched location, including temperature, humidity, wind speed, and more.

  4. Enjoy the app in either light or dark mode, which adjusts based on your system preferences.


Credits


Contributing

Contributions are welcome! If you have any suggestions, improvements, or feature requests, please create an issue or submit a pull request on GitHub.


License

This project is licensed under the MIT License - see the LICENSE file for details.


Feel free to reach out to [email protected] for any questions or feedback. Happy weather checking! ๐ŸŒค๏ธ๐ŸŒง๏ธโ˜€๏ธ

weathernaut's People

Contributors

a-sad-dan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.