Static portfolio website built with plain HTML, CSS, and JavaScript.
Best long-term free option for this portfolio: Cloudflare Pages.
Why:
- Free plan supports unlimited static requests and unlimited bandwidth.
- Free plan supports 500 builds per month.
- Free plan supports custom domains.
- No build command is needed for this project.
- The
_headersfile in this repo adds basic security and caching headers on Cloudflare Pages.
- Create a GitHub repository for this folder.
- Push these files to the repository.
- Go to Cloudflare Dashboard > Workers & Pages > Create application > Pages.
- Connect the GitHub repository.
- Use these settings:
Framework preset: None
Build command: leave empty
Build output directory: /
Root directory: /
- Deploy.
Cloudflare will give you a free pages.dev URL. You can add a custom domain later in the Cloudflare Pages project settings.
GitHub Pages is also free and reliable for a simple portfolio.
- Push this folder to a GitHub repository.
- Go to Repository Settings > Pages.
- Set source to
Deploy from a branch. - Select the
mainbranch and/root. - Save.
GitHub will publish the site at a github.io URL.