Thank you for considering contributing to Webtricks! By contributing, you help make this project more robust, efficient, and accessible to developers worldwide. Please follow these guidelines to ensure a smooth and effective collaboration.
If you encounter bugs, have feature requests, or need clarification, please:
- Check the issues page to see if the issue has already been reported.
- Open a new issue if necessary:
- Provide a clear and descriptive title.
- Include steps to reproduce the issue (if applicable).
- Attach screenshots, code snippets, or relevant files to help us understand the problem.
Have a cool idea to improve Webtricks? Open an issue and tag it as a feature request
. Please include:
- A brief explanation of your idea.
- Why it would be useful for other developers.
- If possible, examples of similar features or inspiration.
-
Fork the Repository:
- Go to Webtricks GitHub Repository.
- Click
Fork
to create your copy of the repository.
-
Clone Your Fork:
git clone https://github.com/your-username/webtricks.git cd webtricks
-
Create a Branch:
git checkout -b feature/your-feature-name
or
git checkout -b fix/your-fix-name
-
Make Your Changes:
- Follow the coding style and structure already established.
- Test your changes locally before committing.
-
Commit Your Changes:
git add . git commit -m "Description of your changes"
-
Push to Your Fork:
git push origin feature/your-feature-name
-
Create a Pull Request:
- Go to your fork on GitHub and click Compare & pull request.
- Provide a clear description of your changes and link any related issues.
- Provide a working example if it is a new feature or a codepen link / webflow.io link of the functionality working properly
Code Standards
- Use vanilla JavaScript and avoid adding external dependencies.
- Follow consistent naming conventions for attributes and variables.
- Ensure clear and concise documentation for new features.
Testing
- Test your changes thoroughly before submitting.
- Add examples in the examples/ folder for any new functionality.
Participate in ongoing discussions in GitHub Discussions. Share your feedback, ideas, and improvements.
Thank you for helping make Webtricks better!