Web Design Fundamentals · Spring 2026
Due to recent changes in Netlify's terms of service, we're switching to GitHub Pages for hosting your projects. GitHub Pages is free, reliable, and perfect for our HTML/CSS/(future javascript) work.
Your repository already has an index.html file at the root level, converting is simple:
Your site will be live at: https://YOUR-USERNAME.github.io/YOUR-REPO-NAME/
*Note: The github.io is the part that makes it a page and not the repo.
Detailed instructions are provided below.
If you already have a repository with HTML/CSS files:
https://YOUR-USERNAME.github.io/YOUR-REPO-NAME/That's literally it. No files to change, no special setup required.
Your repository needs:
index.html file at the root (this becomes your homepage)/ (root)After saving, GitHub will show you a message:
"Your site is ready to be published at https://YOUR-USERNAME.github.io/YOUR-REPO-NAME/"
Wait 1-2 minutes, then click that URL to see your live site!
Some projects have this structure:
repo-name/
├── README.md
└── site/
├── index.html
└── css/
If your index.html is NOT at the root level:
Option 1: Move files to root (recommended)
# Move all files from site/ to root git mv site/* . git commit -m "Move files to root for GitHub Pages" git push
Option 2: Change GitHub Pages folder setting
/ (root) to /docsdocsVisit your site URL. If you see:
index.html is at the root levelIf CSS/images break after deploying:
Check your links in HTML files:
<!-- ❌ Won't work on GitHub Pages --> <link rel="stylesheet" href="/css/style.css"> <img src="/images/photo.jpg"> <!-- ✅ Use relative paths instead --> <link rel="stylesheet" href="css/style.css"> <img src="images/photo.jpg"> <!-- ✅ Or explicitly relative --> <link rel="stylesheet" href="./css/style.css"> <img src="./images/photo.jpg">
You can have unlimited GitHub Pages sites! Each repository can become a separate site:
username.github.io/project1username.github.io/project2username.github.io/portfolioSpecial case: A repository named exactly USERNAME.github.io (matching your GitHub username) will be published at https://USERNAME.github.io/ without the repository name in the URL.
https://USERNAME.github.io/REPO-NAME/That's it! Your existing work is now live on GitHub Pages instead of Netlify.
Need help? Include your GitHub repository URL when asking questions!