1.First, fork the repository on GitHub. This will create a copy of the repository under your account.
2.Next, clone the repository on your local machine. You can use the command git clone <url>
where <url>
is the URL of your forked repository. This will download the files to a folder on your computer.
3.Then, open the folder in VS Code and run npm install
in the terminal. This will install all the dependencies required for the project.
-
After that, run
npm start
in the terminal. This will launch a local server and open the website in your browser. You can make changes to the code and see them reflected on the website. -
Now, you can understand the code structure and implement new features, suggest improvements, or fix bugs. Make sure to follow the coding style and conventions of the project.
-
When you are done with your changes, commit your work using
git commit -m “<message>”
where<message>
is a brief description of what you did. -
Finally, open a pull request on GitHub. This will send your changes to the maintainer of the original repository for review. The maintainer will check your code and accept or reject your pull request.
Thank you for your interest in this project and happy coding!
Medium blog: https://medium.com/@ankitjalaja1/make-your-first-github-contribution-5972a3c39a1e