GitHub Pages lets you host a static website for free directly from a GitHub repository. Your portfolio will be live at yourusername.github.io/portfolio within minutes.
Go to GitHub, click New repository, name it portfolio, and set it to Public.
git init git add . git commit -m "Initial portfolio" git branch -M main git remote add origin https://github.com/USERNAME/portfolio.git git push -u origin main
In the repo, go to Settings → Pages. Under Source, select main branch and click Save. Your site is live in ~60 seconds.
If you own a domain, add a CNAME file to the repo root containing your domain name, then point your DNS to GitHub Pages IPs.
<a> tag