Build a Contractor Quote and Estimate Builder in HTML
A single-file contractor quote builder that separates labour and materials with adjustable markup, tax, deposit calculation, and a clean print view.
Text prompt for ChatGPT and Claude
You get: one complete HTML file in a single code block, then 3 short ideas to extend it.
The prompt
Act as a senior front-end developer and UI designer. Build a single-file HTML tool called Oakridge Trade Quote Builder for small-business contractors to create, calculate, and print client estimates.
Core functionality and rules:
1. Pre-load realistic sample data for a fictional contractor quoting a kitchen refresh, with a Reset Sample button to restore defaults.
2. Separate line items into two distinct tables: Labour (description, hours, hourly rate) and Materials (description, quantity, unit cost). Include Add Row and Remove buttons for each.
3. Provide numeric inputs for Materials Markup %, Tax Rate %, and Deposit Required %, updating all totals live in memory without using form tags or browser storage.
4. Display a clear How This Is Calculated line explaining the formula: Labour Subtotal + Materials With Markup = Subtotal, plus Tax = Total, times Deposit % = Deposit Due.
5. Use a clean, high-contrast slate and amber palette that fits 360px to 1280px screens without horizontal overflow, and include a Print Quote button with a dedicated print stylesheet that hides editing controls.
Output format: one complete HTML file in a single code block, then 3 short ideas to extend it.Example output
Tips and common edits
Why this works
- Separating labour and materials into distinct tables prevents markup from accidentally inflating hourly labour rates.
- Pre-loading realistic sample data makes the live preview immediately useful and demonstrates the calculation formula on first load.
- A dedicated @media print stylesheet hides buttons and input borders so the printed PDF looks like a clean, formal invoice.
Paste this prompt into ChatGPT, Claude, or Gemini. Copy the generated HTML into a text editor, save it as quote-builder.html, and open it in any browser (or preview it directly in Canvas or Artifacts).
Common edits
- Add localStorage saving so contractors can keep their business name, tax rate, and draft quotes between browser sessions.
- Add a currency selector dropdown (USD, CAD, GBP, EUR) to format all line-item totals and summaries automatically.
Reuse it: Use in a workflowTurn into a skillAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Build a Unit Economics Calculator for CAC, LTV, and Payback
Create a single-file unit economics calculator with interactive sliders, live CAC and LTV formulas, payback months, and a plain-language health verdict.
Build an Email Signature Generator With Three Layouts in HTML
Create a self-contained email signature builder with three switchable layouts, live preview, and inline-styled table HTML ready to copy.
Build a Mobile-First Cafe Menu Page With Dietary Filters
Create a thumb-friendly QR code cafe menu with instant dietary tag filters, category jump links, keyword search, and a table order tally.
Build a Distributed Team Time-Zone Meeting Planner in One HTML File
A single-file time-zone meeting planner with a 24-hour overlap grid, fair working-hour highlights, and one-click copy of proposed slots.
Build a Kanban Board with WIP Limits and Drag-and-Drop in HTML
Get a single-file HTML kanban board with configurable WIP limits, live card counts, drag-and-drop, and keyboard-accessible card movement.
Build a Weekly Staff Shift Rota Builder in HTML
Create an interactive weekly shift rota in one HTML file that totals staff hours, flags overtime, and alerts you to daily coverage gaps.
- Build an OKR Progress Tracker with Confidence Scores in One HTML File
- Build a Freelance Project Scope and Rate Estimator in One HTML File
- Build a SaaS Pricing and Annual-Discount ROI Calculator in One HTML File
- Build a Startup Runway and Burn Rate Calculator in One HTML File
- Build a BMI and Daily Calorie Calculator with Metric and Imperial Units in HTML
- Build a Countdown Timer to Any Date With a Confetti Finish in One HTML File