Giter Site home page Giter Site logo

prabhsingh13 / weatherapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.55 MB

A simple web application that allows users to check the current weather and a seven-day forecast for a specified city.

Home Page: https://prabhsingh13.github.io/WeatherApp/

License: MIT License

CSS 6.42% JavaScript 18.72% HTML 74.85%
javascript weather weather-api weather-app weather-conditions weather-data weather-forecast weather-station weatherapi

weatherapp's Introduction

Weather App

A simple web application that allows users to check the current weather and a seven-day forecast for a specified city.

Features

  • Current Weather Display:

    • Real-time weather information, including temperature, location, condition, and additional details.
  • Seven-Day Forecast:

    • Detailed forecast for the next seven days, providing information like temperature, wind speed, and more.
  • Dynamic Weather Icons:

    • Weather icons are dynamically updated based on the current weather conditions.

Usage

  1. Enter the name of a city in the input field.
  2. Click the search button or press Enter to fetch the weather data.
  3. View the current weather and seven-day forecast for the specified city.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/your-username/weather-app.git
  2. Open the index.html file in your web browser.

API Key

To use this application, you'll need to obtain an API key from WeatherAPI and replace the placeholder in script.js with your actual API key.

const apiKey = 'your-api-key';

Dependencies

  • Bootstrap - Used for styling and layout.
  • Font Awesome - Provides icons used in the application.

Contributing

If you'd like to contribute to this project, please follow the Contributing Guidelines.

License

This project is licensed under the MIT License.

Acknowledgments

Thanks to WeatherAPI for providing the weather data.

Author

Prabhjeet Singh

weatherapp's People

Contributors

prabhsingh13 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.