Project structure

This site is intentionally simple. Each page is an HTML file, while the shared stylesheet and JavaScript live in their own folders.

static-site-example/
├── index.html
├── about.html
├── contact.html
├── css/
│   └── style.css
└── js/
    └── scripts.js

What you can add

  • Additional HTML pages
  • Images and SVG graphics
  • Bootstrap components
  • Custom JavaScript
  • YouTube or Vimeo embeds
  • Analytics
  • Third-party forms
  • API-powered content

Good fit for static hosting

Marketing sites, event sites, portfolios, documentation, campaign sites, book sites, informational sites, and many front-end apps are excellent candidates.

What needs something more

Traditional PHP applications, WordPress, and database-driven systems need server-side infrastructure. Cloudflare Workers or third-party APIs can add server-side features when needed.