GitHub Codespaces will let you code in your browser without any setup
Before this, to contribute to a project, a developer would need to make a pull request, and set up the environment on their machines according to the requirements for the concerned project.