This is a simple weather app that fetches and displays a real-time weather information for a specified city using the Open-Meteo API and displaying it to the user for easy use.
- Fetches real-time weather data
- Displays temperature, weather description, humidity, and wind speed
- User-friendly interface
- Enter the city name in the input field.
- Click the "Get Weather" button to fetch and display the weather information.
- HTML
- CSS
- JavaScript
- OpenWeatherMap API
-
Clone the repository:
git clone https://github.com/Ibtissamkaddach/Weather-App.git
-
This code can work without needing an actual Weather API-key, it uses Open-Meteo for a real time weather information.
-
Open your terminal, navigate to the project directory, and run the following commands to initialize a Git repository, commit the code, and push it to GitHub:
cd your file path
# Initialize Git repository
git init
# Add all files to the repository
git add .
# Commit the changes
git commit -m "Initial commit - Add weather app"
# Add the remote repository
git remote add origin https://github.com/Ibtissamkaddach/Weather-App.git
## Contributing
Your contributions are welcome! If you'd like to contribute to this project, please follow these steps:
1. Fork the repository
2. Create a new branch (`git checkout -b feature-branch`)
3. Make your changes and commit them (`git commit -m 'Add new feature'`)
4. Push to the branch (`git push origin feature-branch`)
5. Create a new Pull Request
## License
This project is licensed under the MIT License. See the file for details.
## Contact
If you have any questions or suggestions, feel free to contact me.
# Push the changes to the remote repository
git push -u origin main