MrAshwin2142 / OpenQuotes

OpenQuotes is an open-source collection of inspirational quotes. Contribute your favorite quotes and join our open source journey to inspire the world. Start sharing positivity today!
9 stars 27 forks source link

Good First Issue - Add Your Favorite Quotes #38

Open MrAshwin2142 opened 1 year ago

MrAshwin2142 commented 1 year ago

Contributing to OpenQuotes: Add Your Favorite Quotes

Welcome to OpenQuotes! We're excited to have you join our open-source community. Contributing is easy, and it's a great way to start your open-source journey. Follow these simple steps to add your favorite quotes to the project.

Step 1: Fork the Repository

  1. Click the 'Fork' button at the top of the OpenQuotes repository. This action creates a copy of the repository in your GitHub account.

Step 2: Clone Your Fork

  1. Go to your GitHub account and open your forked OpenQuotes repository.
  2. Click on the 'Code' button and copy the repository URL to your clipboard.
  3. Open your terminal or command prompt.
  4. Use the following command to clone the repository to your local machine:

    git clone "repository_url"

    Replace "repository_url" with the URL you copied.

Step 3: Add Your Quote

  1. Go to the project directory on your computer:

    cd OpenQuotes
  2. Open the quotes.js file in your preferred text editor.

  3. Add your quote to the quotes array following this format:

    {
       quote: "Your Quote Here",
       name: "Your Name",
       githubLink: "Your GitHub Profile URL"
    },
    • Replace "Your Quote Here" with your favorite quote.
    • Replace "Your Name" with your name.
    • Replace "Your GitHub Profile URL" with your GitHub profile link.

Step 4: Commit Your Changes

  1. In your terminal, check the status of your changes:

    git status
  2. Add your changes to a new commit:

    git add quotes.js
  3. Commit your changes with a descriptive message:

    git commit -m "Added my inspirational quote"

Step 5: Push Your Changes

  1. Push your changes to your GitHub repository:

    git push

Step 6: Create a Pull Request

  1. Visit your forked OpenQuotes repository on GitHub.

  2. Click the 'New Pull Request' button.

  3. Compare the changes and click 'Create Pull Request.'

  4. Provide a meaningful title and description for your pull request.

  5. Click 'Create Pull Request' to submit it.

Congratulations! You've successfully added your quote to OpenQuotes. Your journey in open source has begun. If you have any questions or need assistance, feel free to reach out.

Thank you for your contribution!

ghost commented 1 year ago

hey there is anyone working on this issue? if not I would like to give it a try😃

JohnPatrickAncajas commented 1 year ago

Go for it sir @capedCrusaderr! It's open for everyone

ghost commented 1 year ago

hey there I am having trouble pushing code , since it is showing error 403 permission denied could someone please look into it?

MrAshwin2142 commented 1 year ago

hey @capedCrusaderr first you have to "fork" this repo, then make changes on your repo, then create PR.

cmdCrusaderr commented 1 year ago

hey @capedCrusaderr first you have to "fork" this repo, then make changes on your repo, then create PR.

I had some trouble in my previous account , so I created a new one , let me see if it goes well

vinhhung0306 commented 1 year ago

@MrAshwin2142 Could I work on this one ?

JohnPatrickAncajas commented 1 year ago

Go for it @vinhhung0306! Anyone can contribute and add their quote here .

ngoc1230321 commented 1 year ago

Thank for this issue, it helps me for my homework. Sorry about my vocabulary , i just want to thank you so much.

ngoc1230321 commented 1 year ago

I can't find quotes.js. Pls help me

JohnPatrickAncajas commented 1 year ago

Hello @ngoc1230321! Please check if you have the right repository. I checked your profile and it seems like you have a repo that shares the same name as us. It might be the reason you cannot find the quotes.js file.