Frameworks and page builders solve real problems, but they also add weight, dependencies and things to update. For some projects, the best website is the simplest one: HTML for structure, CSS for design and a little JavaScript where it’s needed.
When plain code makes sense
Small sites that rarely change
A one-page site, an event page or a product launch page doesn’t need a CMS or a build system. Hand-coded pages load almost instantly and can sit untouched for years without breaking.
Embeds and components for another platform
Custom sections for Webflow, Shopify or Squarespace, interactive calculators, configurators and widgets are often best written in plain JavaScript, so they drop into any site without bringing a framework along.
Pages where performance is everything
Landing pages for paid campaigns benefit from every fraction of a second. With no framework, there is nothing extra to download.
Work that needs to last
Plain HTML and CSS will still open in a browser decades from now. There are no packages to fall out of date and no platform to shut down.
When it doesn’t make sense
- Your team needs to edit content regularly without a developer
- The site has many pages that share a layout
- You need a blog, search or filtering across lots of content
In those cases, a light framework like Astro gives you the same lean output with templates and a CMS on top.
The less there is between your visitor and your content, the faster it arrives.
What good hand-coded work looks like
- Semantic HTML: headings, lists, buttons and links used for what they are, which helps accessibility and search
- Modern CSS: grid, flexbox and custom properties for layouts that adapt to any screen
- Progressive enhancement: the page works without JavaScript, and scripts add polish on top
- Accessible by default: keyboard navigation, visible focus states, sufficient contrast and proper labels
- No unused code: every line is there for a reason