StealThis .dev

Real Estate — Listing Editor

An editorial listing editor for a fictional residential brokerage, built in vanilla HTML, CSS and JavaScript. Compose a property from a drag-to-reorder photo grid with an automatic cover badge, address, list price, beds, baths, square footage, property type, year built and a character-counted description, then tick a features checklist. A sticky preview card rebuilds live as you type — simulated architectural photography, price and status badges, a spec row, feature chips and a listing agent. Save and publish run inline validation and a confirmation toast.

Abrir en Lab
html css vanilla-js
Targets: JS HTML

Código

Listing Editor

A polished workspace for an agent at the fictional Halewood & Marsh brokerage to compose a property listing. The left column is the editor: a photo uploader with a drag-and-drop dropzone and a grid of simulated property “photos” you can drag to reorder, where the first tile always earns a brass Cover badge and any tile can be removed. Below it sit the core fields — street address, city and ZIP, list price with live thousands formatting, property type, beds, baths, living area and year built — followed by a description with a running character count and a two-column features-and-amenities checklist.

The right column is a sticky live preview that rebuilds on every keystroke. It renders a refined listing card: a CSS-painted architectural cover image (warm or verdant tones that follow the current cover photo), price and status badges, a tabular spec row for beds / baths / sq ft, the property type and build year, a clamped description, feature chips and a listing agent block. Reordering photos updates the cover; toggling features re-flows the chip row.

Saving stores the listing as a Draft; publishing runs lightweight validation — an address and a positive price are required, and at least one photo — highlighting any missing field, flipping the status pill and card badge to Published, and firing a confirmation toast. Every control is keyboard-usable and labelled for assistive tech.

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