A simple weather app that provides real-time weather data based on the user's location. The app allows users to click a button to receive random sample weather data and displays weather icons and backgrounds based on the current weather state.
- Displays weather information such as temperature, humidity, and weather conditions.
- Dynamic background and icons based on weather conditions (e.g., sunny, rainy, cloudy).
- Supports multiple locations (using latitude and longitude).
- Provides a visually appealing interface with responsive design.
- Git
- Node.js (for backend or development server)
-
Clone the repository:
git clone https://github.com/your-username/weather-app.git
-
Navigate to the project directory:
cd weather-app -
Install the necessary dependencies (if applicable):
npm install
-
Open
index.htmlin your browser to run the app locally.
- Open the app in a browser.
- Click the "Get Weather" button to see random sample weather data.
- The background and icons will change based on the weather conditions.
We welcome contributions! Please fork the repository and submit a pull request with improvements or bug fixes. Here's how you can contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
Please note that this project adheres to a Code of Conduct to maintain a welcoming and respectful environment for all contributors.
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenWeatherMap API (for real-time weather data)
- Font Awesome (for icons)
Feel free to open an issue or contact me if you have any questions! Also feel free to build upon this!
