portfolio/
├── index.html ← Main HTML structure
├── style.css ← All styling
├── script.js ← Animations & interactions
└── README.md ← This guide
- Go to https://github.com
- Click Sign Up and create a free account
- Verify your email
- Click the + button (top-right) → New repository
- Name it EXACTLY:
yourusername.github.io
(replaceyourusernamewith your actual GitHub username) - Set visibility to Public
- Do NOT check "Add README"
- Click Create repository
Option A — Using GitHub Website (Easiest)
- On your new repository page, click uploading an existing file
- Drag and drop all 3 files:
index.html,style.css,script.js - Scroll down → click Commit changes
Option B — Using Git (Recommended)
# 1. Install Git from https://git-scm.com/downloads
# 2. Open terminal/command prompt in your portfolio folder
git init
git add .
git commit -m "Initial portfolio deploy"
git branch -M main
git remote add origin https://github.com/yourusername/yourusername.github.io.git
git push -u origin main- Go to your repository → Settings tab
- Scroll to Pages section (left sidebar)
- Under Source → select Deploy from a branch
- Branch: main / Folder: / (root)
- Click Save
Wait 2–5 minutes, then visit: https://yourusername.github.io
In index.html, replace all instances of "Your Name" and "YN" with your real name.
| What | Where | How |
|---|---|---|
| Your name | index.html — .hero-title |
Replace "Your" and "Name" |
index.html — contact section |
Replace your@email.com |
|
| GitHub link | index.html — about section |
Replace yourusername |
index.html — contact socials |
Replace URL | |
| Projects | index.html — .project-card |
Edit title, description, tags |
| Skills | index.html — .skill-group |
Edit labels and --w percentages |
| Stats | index.html — .hero-stat-bar |
Change numbers |
| Location | index.html — .hero-tag |
Change "London, UK" |
In style.css, line 6:
--accent: #e8c547; /* Change this to any color you like */Popular choices: #00d4ff (cyan), #ff4d6d (pink), #39ff14 (neon green)
Replace the .img-placeholder div in index.html with:
<img src="photo.jpg" alt="Your Name" style="width:100%;border-radius:12px;">Upload your photo.jpg to the same folder.
Replace the style="background: linear-gradient(...)" on .project-img with:
<div class="project-img" style="background-image:url('project1.png');background-size:cover">Every time you make changes, push them to GitHub:
git add .
git commit -m "Update portfolio"
git pushChanges go live within 1–2 minutes.
- Buy a domain (e.g., from Namecheap, GoDaddy)
- In GitHub → Settings → Pages → Custom domain → enter your domain
- Add a CNAME record at your domain registrar pointing to
yourusername.github.io
- Use https://favicon.io to generate a favicon and add it to
<head> - Add Google Analytics for visitor tracking
- Test on mobile — the site is fully responsive
- Check https://pagespeed.web.dev for performance score