Learn the complete open source contribution workflow! This workshop teaches you how to fork, edit, commit, and create pull requests using a fun collaborative programming tips board.
By the end of this workshop, you'll know how to:
- Fork a repository on GitHub
- Open projects in GitHub Codespaces
- Edit code and make meaningful contributions
- Commit your changes with clear messages
- Create pull requests to propose your changes
- Collaborate with other developers through code
This project creates a virtual board where participants can share programming tips, strategies, and experiences through colorful post-it notes. It's designed specifically to teach the open source contribution workflow in a fun, hands-on way.
Why a tips board? It's simple enough for beginners to contribute, but meaningful enough to create real value for the community!
- Visual post-it board style with random colors and rotations
- Easy contribution through direct HTML code editing
- Responsive layout that simulates tips on a wall
Follow these steps to learn the complete open source contribution process:
- Click the "Fork" button at the top of this GitHub repository
- This creates your own copy of the project in your GitHub account
- In your forked repository, click the green "Code" button
- Select "Codespaces" tab
- Click "Create codespace on main"
- Wait for your development environment to load
-
In the Codespaces editor, open
index.html
-
Find the
<div class="tips-grid">
section -
Copy this template and paste it below existing tips:
<article class="tip-card"> <div class="tip-content">Your programming tip here...</div> <div class="tip-author">By: Your Name</div> </article>
-
Replace "Your programming tip here..." with your actual tip
-
Replace "Your Name" with your name
- In the left sidebar, click the Source Control icon (looks like a branch)
- You'll see your changed files listed
- In the message box, type:
Add programming tip by [Your Name]
- Click the "Commit" button
- Click "Sync Changes" to push to your fork
- Go back to your fork on GitHub (github.com/yourusername/contribute-to-open-source-workshop)
- You'll see a banner saying "Compare & pull request" - click it
- Add a title like:
Add programming tip by [Your Name]
- In the description, explain what tip you added
- Click "Create pull request"
🎉 Congratulations! You've just completed the full open source contribution workflow!
open-source-workshop/
├── index.html # Main page with post-it board (this is where you'll add your tip!)
├── styles.css # Cork board and post-it styles
├── script.js # JavaScript for post-it visual effects
├── logo.png # Project logo
└── README.md # This file - workshop instructions
- Ideal group size: 5-20 participants
- Time needed: 30-45 minutes
- Prerequisites: Basic understanding of what GitHub is
- What participants need: A GitHub account
- Extension ideas:
- Categorize tips by colors/themes
- Add a "like" system for popular tips
- Create team challenges (most creative tip, etc.)
- Discuss code review process during PR reviews
This workshop covers the essential open source skills:
- Understanding Git workflows
- Using GitHub's web interface
- Working with cloud development environments (Codespaces)
- Writing clear commit messages
- Creating descriptive pull requests
- Basic HTML editing
- Collaborative development practices
Made with 💜 for teaching open source contribution workflows.