Welcome! This guide will help you make your first contribution. No experience needed—just follow the steps below.
- Click the Fork button at the top right of the GitHub page. This creates your own copy of the project.
- On your forked repo, click Code and copy the URL.
- Open your terminal and run:
git clone https://github.com/your-username/vanilla-verse.git cd vanilla-verse
- Open
index.htmland look at the projects listed. - Go to the folder in
projects/vanilla-versefor the project you want.
- Check the
README.mdandmain.jsin the project folder for TODOs or ideas. - If you have questions or want to suggest something, open an issue on GitHub.
- Use VS Code with the Live Server extension (recommended) or any static HTTP server.
- Edit the code. Make small, focused changes.
- Save your work and run:
git add . git commit -m "Describe your change here git push
- Go to your fork on GitHub. Click Compare & pull request.
- In the PR description, reference the issue you worked on (e.g.,
Closes #12). - Title your PR clearly (e.g., "Snake: Add keyboard controls").
- A maintainer will review your PR and may suggest changes.
- If needed, update your PR by pushing more commits.
To keep things organized:
- Create an issue describing your change or pick an existing one.
- Get assigned to the issue (ask in a comment if needed).
- Open a PR that references the assigned issue.
PRs must reference an assigned issue, or checks will fail.
- Use plain JavaScript (no frameworks).
- Keep files small and focused.
- Write semantic HTML and accessible markup.
- Use styles from
assets/styles.cssfor consistency.
Include:
- What you expected vs. what happened
- Steps to reproduce
- Screenshots or code snippets if possible
By contributing, you agree to follow our CODE_OF_CONDUCT.md.
You got this! If you get stuck, ask questions in issues. Maintainers are here to help.