Energy savings calculator
A simulator that estimates the heating bill and the yearly savings in euros from the floor area, current energy and chosen works.
- Tailwind
- React
- CSS
- WordPress
Description
For a certified installer, a design office or a heat pump fitter: the visitor sets the heated area with a slider, picks the current heating (gas, oil, electric heaters) and ticks the planned works (loft, walls, windows, heat pump). The yearly saving shows in large type, with the bill before and after and the percentage saved, recalculated on every change. The calculation is honest and readable in the code: heating need per m², boiler efficiency, average kWh price, insulation gains applied one after another to what is left, heat pump coefficient of performance; the assumptions are written under the result with a link to the audit. Labelled native fields (slider, list, boxes in a fieldset), results in output elements announced through aria-live, French-formatted amounts. Two columns on large screens, one on phones, 44 px targets, AA contrast in light and dark mode.
Code
Loading the code…
The code of this component in
Archive contents
calculateur-economies-energie-html-tailwind.zip3 files · 5 Ko
- index.html7 Ko
- README.md4 Ko
- LICENSE.md1 Ko
Tags
Updated on December 3, 2026.
Reviews
No reviews yet.
In the same spirit

A six-cell bento grid: key figures, SVG sparklines, a quote and icons. All the text is in the HTML and the animation is CSS only, with no script at all.
- Tailwind
- React
- CSS
- WordPress

Three cards in saturated flat colours (yellow, pink, electric blue) with high-contrast text and a dark variant. Every colour pair is measured at AA: 5.5:1 at worst.
- Tailwind
- React
- CSS
- WordPress

Six features as frosted glass cards over a slowly drifting aurora mesh gradient. Pause button, still background under prefers-reduced-motion, CSS and a light script.
- Tailwind
- React
- CSS
- WordPress

The key message stays pinned while the background changes colour and illustration at each scroll step. CSS sticky, a light script, stacked cards as fallback under prefers-reduced-motion.
- Tailwind
- React
- CSS
- WordPress