We welcome contributions to JS Learning Lab! Here are several ways you can help:
The easiest way to contribute is by adding new JavaScript questions:
-
Use the Admin Interface
- Open
admin.htmlin your browser - Fill out the question form with all details
- Generate the JSON and copy it
- Add to
src/data/questionsDatabase.json
- Open
-
Question Guidelines
- Focus on real-world JavaScript scenarios
- Include clear, detailed explanations
- Provide helpful hints for learning
- Test your questions thoroughly
- Use proper grammar and formatting
-
Fork the Repository
git clone https://github.com/SyntaxSidekick/js-learning-lab.git cd js-learning-lab -
Create a Feature Branch
git checkout -b feature/your-feature-name
-
Make Your Changes
- Follow the existing code style
- Add tests if applicable
- Update documentation as needed
-
Test Your Changes
npm install npm run dev
-
Commit and Push
git add . git commit -m "Add: your feature description" git push origin feature/your-feature-name
-
Create a Pull Request
- Describe your changes clearly
- Include screenshots if applicable
- Reference any related issues
- Code Style: Follow existing patterns and use ESLint
- Commits: Use clear, descriptive commit messages
- Documentation: Update README.md and comments as needed
- Testing: Test all functionality before submitting
- Use GitHub Issues to report bugs
- Include steps to reproduce
- Provide browser and system information
- Include screenshots if helpful
- Open a GitHub Discussion for feature ideas
- Explain the use case and benefits
- Consider implementing it yourself!
Thank you for contributing to JS Learning Lab! 🚀