StealThis .dev

Law Firm — Contact & Offices

A trust-first law-firm contact section pairing a validated enquiry form with name email phone matter-type and message fields, three office cards showing address phone and live open-or-closed hours, and a stylized static map placeholder rendered without any libraries.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Contact & Offices

An authoritative, trust-first contact section for a law firm. A gold-ruled enquiry form gathers the prospect’s name, email, phone, the matter type and a short message, validating each field inline — required entries, a real email format and a sensible phone — and moving focus to the first problem on a failed submit before showing a calm confirmation.

Alongside the form sit three office cards for Manhattan, Chicago and London, each with a full street address, a click-to-call phone line and posted opening hours. A small vanilla-JS clock reads each office’s weekday schedule against the current time and stamps a live Open now or Closed badge so visitors know who they can reach right away.

A stylized static map placeholder anchors the section with gold pins for every location, drawn purely in CSS and markup so there are no external tiles or API keys to wire up.

Illustrative UI only — not legal advice and not a real firm.