Thank you for taking the time to contribute to the Weather App! Your help is highly appreciated. Follow the guidelines below to ensure smooth collaboration.
If you find a bug:
- Check if the issue already exists in the issues section.
- If not, create a new issue with a clear title and detailed description.
- Include steps to reproduce, expected behavior, and actual behavior.
- Add relevant screenshots or logs if possible.
If you have a suggestion to improve the Weather App:
- Check the issues section to see if your suggestion is already being discussed.
- If not, create a new issue describing your enhancement idea and explain why it would be beneficial.
- Be specific about how the feature should work and its impact on the project.
When submitting a pull request (PR):
- Fork the repository.
- Create a new branch (use a meaningful name like
feature/add-new-feature
orbugfix/issue-123
). - Make your changes, following the Code Style guidelines.
- Ensure that the app runs correctly and passes any existing tests.
- Commit and push your changes.
- Open a PR to the main branch with a detailed description of your changes and the issue it addresses.
- Link any related issues in your PR description.
We encourage small, focused PRs that are easier to review and discuss.
-
Fork the repository and clone your fork:
git clone https://github.com/YOUR-USERNAME/weather-app.git cd weather-app
-
To run this project locally on your machine, open the
index.html
file in your web browser. -
The app should now be running on
http://localhost:3000
.
To keep the codebase clean and readable:
- Follow the existing coding style.
- Use meaningful variable and function names.
- Keep functions small and focused.
- Comment your code where necessary.
- Remove any unused code before submitting a PR.
We track all issues and feature requests using GitHub issues. To create a new issue, visit the issues section and click on "New Issue."
- Be descriptive and specific.
- Include relevant screenshots or logs.
- Tag your issue with appropriate labels (e.g., bug, enhancement).
By contributing to the Weather App, you agree that your contributions will be licensed under the MIT License.