Welcome to the GitHub Pull Request Demo! This activity is designed to help you get hands-on experience with GitHub by contributing to a collaborative HTML page.
You'll fork this repository, clone it to your local machine, add your name to a grid on a webpage, and submit a pull request (PR) so your name appears on the live site. Let's go! π
Click the Fork button at the top-right of this page to create your own copy of this repo.
Open your terminal and run:
git clone https://github.com/DarshanKrishna-DK/Github-Workshop.git- Navigate into the project folder
cd REPO-NAME- Open index.html in your code editor Look for the following part in the file:
<div class="grid">
<!-- π½ Copy & paste the card below -->
<div class="card">Darshan Krishna N</div>
<!-- Add your card below this line -->
</div>- Add your name card Copy and paste the line and change the name to yours. For example:
<div class="card">Your Name Here</div>Make sure you add your card below the comment that says:
-
Save the file
-
Commit your changes
git add index.html
git commit -m "Added my name card"- Push your changes to your fork
git push origin main(Or git push origin your-branch-name if you're working on a separate branch)
- Create a Pull Request Go to your forked repository on GitHub.
Click the "Compare & pull request" button.
Add a title and description for your PR.
Submit the pull request!
π Congratulations! You're now a contributor! Once your PR is reviewed and merged, your name will appear on the main page for all to see.
Happy Coding π»π
Let me know if you want to include screenshots or want to host the HTML page using GitHub Pages for live previews!