Skip to content

Price per square metre estimator

A job estimator: service, surface area and options give a live price range, followed by a detailed quote request.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

For a painter, flooring fitter or renovation company that wants to qualify enquiries before a site visit. The visitor picks a service (radio cards), types the area in m² (5 to 500) and ticks options billed per m² or as a flat fee: the incl. VAT range, rounded to €10, and the resulting price per m² are recalculated on every change, in a region announced politely to screen readers. All rates live in data-pxm-min and data-pxm-max attributes, no script editing needed. The “Request a detailed quote” button checks the area, name and email (aria-invalid, message linked to the field, focus on the first error) then sums up the request in a role="status" region; sending plugs into your server or quoting tool. AA contrast in light and dark mode, 44 px targets, no horizontal scrolling from 360 px. Example: a painting and parquet flooring tradesperson.

Code

Loading the code…

The code of this component in

Archive contents

formulaire-estimation-prix-m2-html-tailwind.zip3 files · 7 Ko

  • index.html15 Ko
  • README.md4 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • A recruitment form for small businesses: target position, introduction, CV checked in the browser and GDPR consent, with inline errors.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A quote request form whose labels, hints and error messages are full French sentences, still readable at 320 px: nothing overflows, nothing is cut off, and each error is tied to its field.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Visitors pick a package and tick options: the pre-tax total, VAT and total including tax update live, and the summary is sent with the contact form.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A short NPS survey: a 0 to 10 score as radio buttons, then a follow-up question adapted to whether the customer is a detractor, passive or promoter.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component