StealThis .dev

Real Estate — CMA / Comp Report

A print-style Comparative Market Analysis laid out like an editorial brokerage report. A subject-property masthead pairs simulated listing photography with beds, baths, square footage and the preparing broker, then a table of fictional comparable sales lists sold price, dollars per square foot, beds and baths, sold date, distance and a signed dollar adjustment. Toggling any comp in or out instantly recomputes the adjusted average, the suggested low, target and high list range, the range slider and a price-distribution bar chart.

Lab에서 열기
html css vanilla-js
Targets: JS HTML

Code

CMA / Comp Report

A premium, print-ready Comparative Market Analysis presented as a single editorial sheet. The masthead carries the brokerage identity and a report reference, then the subject property leads with warm CSS “photography”, a serif address, and a hairline spec strip for beds, baths, square footage, lot size and year built — closing with the preparing broker and the date the analysis was run.

The heart of the report is the comparable-sales table. Each fictional row shows the sold price, dollars per square foot, bed and bath count, sold date, distance from the subject, and a signed adjustment pill that raises or lowers the comp to account for differences against the subject home. A live checkbox on every row lets you include or exclude that comp; struck-through styling marks the ones left out, and a footer reconciles the adjusted average across only the comps still in play.

Every toggle recalculates the suggested list range — a blended figure that weighs the adjusted average against a dollars-per-square-foot valuation of the subject — and animates the low/target/high figures, a brass-filled range slider with a target marker, and an adjusted-price distribution chart where each comp is a bar alongside a highlighted subject-target column. A small toast confirms each change, and a print action drops the chrome for a clean hard copy.

Illustrative UI only — sample listings and data are fictional; not a real real-estate service.