A GitHub Hands-On Workshop
Live Demo: https://fork-or-treat.vercel.app/
A beginner-friendly, single-page Halloween profile card used for our GitHub Study Jam. It’s a static site (plain HTML/CSS + tiny JS for data rendering) you can fork, customize, and deploy. Perfect for learning repo basics, branching, commits, pull requests, and branch preview deployments.
- Responsive glassmorphism profile card (no JS framework)
- Easy content editing via a single data file (
profile.js) - Accessibility-minded HTML structure
- Cute seasonal accents (bats, web overlay, spooky fonts)
- Ready for Vercel (auto branch previews) or GitHub Pages
fork-or-treat/
├─ index.html
├─ styles.css
├─ profile.js # edit your info (name, bio, tags, facts, avatar)
├─ render.js # maps profile.js → DOM
├─ assets/
│ ├─ img/ # images (avatar, bats, web, pumpkins, etc.)
│ └─ fonts/
└─ README.md
# 1) Clone
git clone https://github.com/afgeloo/fork-or-treat.git .
# 2) Open locally
# Option A: Double-click index.html
# Option B (recommended): Use VS Code + Live Server extensionOpen profile.js and update the fields:
window.__PROFILE__ = {
name: "Your Name",
role: "Your Future Role",
bio: "One-liner about you.",
avatar: "assets/img/profile.png",
tags: ["#HTML", "#CSS", "#Git", "#Halloween"],
facts: [
{ label: "Nickname", value: "Gelo" },
{ label: "Favorite Food", value: "Tonkatsu 🍱" },
{ label: "Course", value: "BS Computer Science" },
{ label: "College", value: "Pamantasan ng Lungsod ng Maynila" },
{ label: "Hobby", value: "Pixel art 🎨" },
{ label: "Location", value: "Manila, PH 📍" }
]
};- Import GitHub Repo in Vercel.
- Keep default build (static): no build command, output is repository root.
- Enable Preview Deployments: each branch gets a unique URL.
- Push to
gelo-branchor any feature branch → Vercel creates a preview URL.
- Settings → Pages → Source: Deploy from a branch.
- Branch:
main, Folder:/ (root)→ Save.
# create repo (local → remote)
git init
git add .
git commit -m "chore: initial commit"
git branch -M main
git remote add origin <your-repo-URL>
git push -u origin main
# clone (remote → local)
git clone <repo-url> .
# branch workflow
git checkout -b gelo-branch
# ...edit files...
git add .
git commit -m "feat: add animated bats and web overlay"
git push -u origin gelo-branch
# update feature branch with latest main
git fetch origin main
git merge origin/main # or: git rebase origin/main
# resolve → add/commit → push-
Create a branch:
git checkout -b feature/my-change -
Commit using Conventional Commits:
feat:new featurefix:bug fixdocs:docs onlystyle:formatting (no code change)refactor:restructure (no behavior change)perf:performancetest:add/modify testsbuild:tooling/depsci:CI config/scriptsrevert:revert a commit
-
Push and open a Pull Request.
-
Get a Vercel preview URL for review.
-
Merge when approved.
- Mobile view centers the card properly
- Avatar loads (correct
assets/img/profile.png) - Fonts load from
assets/fonts/(Nosifer/Jolly Lodger) - Tags/facts hover with pumpkin-glow animation
- No horizontal scroll on small screens
MIT — do whatever, just keep the notice.
- Participants of Fork or Treat: A GitHub Hands-On Workshop
- GDGoC PLM community and volunteer mentors