Day 5: GitHub & Live Deployment
Daily Objective
Section titled “Daily Objective”Publish your finished website live to the world using GitHub Pages or Netlify!
1. Pushing Code to GitHub
Section titled “1. Pushing Code to GitHub”git initgit add .git commit -m "feat: complete capstone website"git branch -M maingit remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.gitgit push -u origin main2. Publishing Live for Free
Section titled “2. Publishing Live for Free”Option A: GitHub Pages
Section titled “Option A: GitHub Pages”- On GitHub, go to your repository’s Settings tab.
- Click Pages in the left sidebar.
- Under Branch, select
mainand/root, then click Save. - Your site will be published at
https://YOUR_USERNAME.github.io/YOUR_REPO/in a few minutes!
Option B: Netlify
Section titled “Option B: Netlify”- Go to Netlify.com and sign in with GitHub.
- Click Add new site -> Import an existing project.
- Select your repository and deploy with 1 click. You get a live custom URL and free HTTPS!
Congratulations on Completing the 8-Week Plan!
Section titled “Congratulations on Completing the 8-Week Plan!”You now possess a rock-solid foundation in HTML semantics, modern CSS styling, Flexbox, Grid, responsive design, and live deployment.
Share your live URL with friends, family, and the developer community!