StealThis .dev
Pages Moyen

Real Estate — Vacation / Short-term Rental Landing

A bright, breezy single-page landing for a fictional vacation-rental brand in a sand, teal, and coral palette. Features an airy escape hero with a destination and dates search, a guests stepper popover, a filterable getaways grid with gradient property photos, nightly prices, ratings and sleeps badges, a scrollable destinations carousel, a host CTA with a live earnings estimator, and trust highlights — all vanilla HTML, CSS, and JS with toast feedback.

Ouvrir dans Lab
html css vanilla-js
Targets: JS HTML

Code

Vacation / Short-term Rental Landing

A sun-drenched, lifestyle-forward landing for Sandline, a fictional direct-booking platform for vacation and short-term rentals. The sand-teal-coral palette and an airy Inter type scale set an escape-and-breeze mood from the hero down. The hero pairs a soft sunset gradient backdrop with a pill search bar — destination autocomplete, check-in / check-out dates, and a guests popover with adults, children and pets steppers that enforce sensible min/max limits and roll up into a friendly summary.

Below the fold, a getaways grid renders nine realistic stays with CSS-gradient “listing photography”, guest-favourite badges, ratings, sleeps badges, bed/bath counts and nightly prices. Destination chips filter the grid in place, each card has a save-to-wishlist heart, and an empty state covers any filter with no matches. A horizontally snapping destinations carousel scrolls via prev/next buttons that disable at each end, and a host CTA section includes a live earnings estimator driven by a nights slider plus an email capture that validates before firing a toast.

Every interaction — search, filtering, the guests stepper, wishlist hearts, carousel paging, the earnings slider and form submits — is handled in dependency-free vanilla JS, with a small toast() helper for confirmation feedback and a sticky header that gains a subtle shadow on scroll.

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