StealThis .dev
Сторінки Середня

Real Estate — Suburban Family Homes Landing

A warm, family-friendly suburban real-estate landing for the fictional Maple & Meadow brokerage, pairing a golden-hour hero rendered in pure CSS gradients with a neighborhood-and-beds search bar, a ranch/colonial/craftsman home-style chooser, and a featured-homes grid where every listing carries price, status, bed-bath-sqft specs, save-to-shortlist hearts, and a color-coded school-rating badge. Vanilla JS filters listings by style and a school-rating slider, with a community-life section, friendly tour CTA, and toast feedback throughout a fully responsive layout.

Відкрити в Lab
html css vanilla-js
Цілі: JS HTML

Код

Suburban Family Homes Landing

A welcoming marketing landing for Maple & Meadow, a fictional suburban brokerage. A serif display hero anchors a friendly headline and a two-field search bar (neighborhood with autocomplete, plus a beds selector), beside a golden-hour “photo” of a porch-front family home built entirely from layered CSS gradients — roof, windows, door, a shade tree, and a floating just-listed price card. A trust strip counts off families moved, average rating, and communities served.

Below the hero, a “find your fit” chooser lets you pick a home style — ranch, colonial, or craftsman, each with its own illustrated thumbnail — to filter the listings. The featured-homes grid renders nine fictional family homes, each with a gradient property image, a status badge (Just listed / For sale / Pending / Open house), a save-to-shortlist heart, price, address and neighborhood, bed/bath/sqft specs, and a color-coded school-rating badge (green for top schools, amber and red for lower). A community-life section and a relaxed “book a tour” CTA round out the page.

Interactions are vanilla JS only: the style chooser and a school-rating range slider filter the grid live (with an empty-state message when nothing matches), the heart buttons toggle a shortlist via event delegation, and a reusable toast() helper surfaces feedback for searches, filters, saves, and tour requests. The slider track fills as you drag, and the layout stays usable down to ~360px while respecting prefers-reduced-motion.

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