A simple weather application that allows users to check the current weather of any city using the OpenWeather API. The application is deployed using GitHub Pages.
Check out the live version of the app here: Weather App
- Get real-time weather updates for any city.
- Displays temperature and weather conditions.
- Simple and user-friendly interface.
- Deployed on GitHub Pages.
- HTML - For the webpage structure.
- CSS - For styling.
- JavaScript - For handling API requests and dynamic content.
- OpenWeather API - Fetches real-time weather data.
- GitHub Pages - For deployment.
- Open the app using the live demo link.
- Enter a city name in the input field.
- Click on the "Get Weather" button.
- The app will fetch and display the current weather details.
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/rajgupta2/Weather-App.git- Navigate to the project directory:
cd Weather-App- Open index.html in a browser.
This project uses the OpenWeather API.
To use it:
- Sign up on OpenWeather and get an API key.
- Replace
"API_KEY"in the script.js with your API key.
This project is deployed using GitHub Pages. To deploy:
- Push your project to GitHub.
- In the GitHub repository, go to Settings > Pages.
- Set the branch to
main(orgh-pagesif applicable). - The site will be live at
https://yourusername.github.io/Weather-App/.
This project is open-source and available under the MIT License.
π‘ Suggestions & Contributions are welcome! Feel free to fork the repository and submit a pull request. π