The CreatorCon Call for Content is officially open! Get started here.

Juhi Poddar
Kilo Patron
Kilo Patron

In this article, I’ll walk you through a step-by-step process to successfully contribute to a Hacktoberfest Level 1 Code Snippet project. 🧩

All you need is:

  • A GitHub account
  • Some creative ideas 💡
  • And your enthusiasm to contribute and grow together 🚀

Step 1: Open the Original Repository

To begin your Hacktoberfest Level 1 contribution, open the official Code Snippet repository where all contributions are made.

👉 Click here to open the repository

 

Step 2: Fork the Repository

Click on Fork in the top-right corner of the repository page (as shown in the screenshot).
This will create a copy of the repository under your GitHub account where you can make your changes.

JuhiPoddar_0-1759725425077.png

A page appears after clicking Fork:

JuhiPoddar_1-1759725440467.png

A photocopy of the original repository is now available in your GitHub account for you to work on. 🎉

 

Step 3: Create a New Branch

Click on the Branch -> New branch

JuhiPoddar_2-1759725470367.pngJuhiPoddar_3-1759725480398.png

 

Type a name for your new branch (for example, my-first-contribution), and make sure the source is the code-snippet-copy repository and the main branch.

JuhiPoddar_4-1759725543372.png

 

Once the branch is created, you’ll see it listed under branchesClick on your newly created branch (e.g., my-first-contribution).

JuhiPoddar_5-1759725558695.png

Step 4: Sync Your Fork

Verify that you’re in the correct branch before you start contributing. Sync your fork to make sure it’s up to date with the latest changes from the original repository. Click on Sync fork → Update branch in your GitHub fork.

JuhiPoddar_6-1759725574485.png

 

Step 5: Make Your Contribution and Commit Changes

Before you start, make sure to read the README and CONTRIBUTING file thoroughly to understand the guidelines and best practices for contributing. This will help ensure your contribution is correct and accepted.

Add your code snippet or update the file as required.
Once done, click Commit changes, add a short and meaningful commit message, and save your work.

 

Step 6: Create a Pull Request

Once your changes are committed, go back to your code-snippet-copy repository.
You’ll see a Compare & pull request button. Click on it to start submitting your contribution. 🚀

JuhiPoddar_7-1759725589999.png

 

Step 7: Submit Your Pull Request

After clicking Compare & pull request, the Open a pull request Page appears.

Verify the repositories:

JuhiPoddar_10-1759726017955.png

  • Enter the title to your pull request
  • The description is already filled, so simply check the checkbox if required.
  • Click Create pull request to submit your contribution.

JuhiPoddar_8-1759725606439.png

 

JuhiPoddar_9-1759725613792.png

 

Step 8: Contribution Submitted

Congratulations! Your contribution is now submitted. 🎉

For your next contribution, simply:

  1. Go back to the main branch of your repository.
  2. Create a new branch from it.
  3. Start your next set of contributions following the same steps.

Keep contributing, learning, and growing together! 🚀

Happy Hacking!

 

If you found this guide helpful and want me to create similar step-by-step guides for Hacktoberfest Level 2 and Level 3, please leave a comment below. I’d love to help you continue your Hacktoberfest journey! 🚀

Comments
Vishal_Jaiswal
Tera Expert

This is very helpful.

abirakundu23
Mega Sage

Hi  @Juhi Poddar ,

Thanks for the article , really helpful.

Could you please provide steps for Step 5 where REAMED & contribute is important. How can access 
README file and include comments in the JavaScript file for Code Snippet ?

is the similar way  have to perform Level 2, Level 3 ? If possible please provide some steps.

Can we send 6 pull request for Code snippet ?

Version history
Last update:
Monday
Updated by:
Contributors