Skip to main content
ALEXY LINK

Contact 02

Split contact section pairing concise introductory copy with a focused message form card.

Requirements

HTML, CSS, JavaScript

Dependencies

None

Usage

Copy index.html, styles.css and script.js into your project.

About Contact 02

Contact 02 is a contact section in the Contact Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 19, 2026.

  • contact
  • form
  • split layout
  • card

What the code includes

HTML + CSS + JavaScript

3 files: index.html, styles.css, script.js

  • Behavior is handled in script.js.
  • ARIA in the markup: roles alert, status; aria-required, aria-describedby, aria-label, aria-live.
  • HTML elements used: section, form, button, input, select, textarea, label.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive CSS breakpoints at 640px, 1024px.

React + TypeScript + Tailwind CSS

3 files: Contact02.jsx, Contact02.types.ts, Contact02.tailwind.css

  • Content lives in editable constants: COUNTRY_CALLING_CODES.
  • Typed data shapes: FieldName, FormStatus, CountryCallingCode, ContactFormValues, ContactFormErrors.
  • Uses React hooks: useId, useRef, useState.
  • ARIA in the markup: roles alert, status; aria-required, aria-invalid, aria-describedby, aria-label, aria-live.
  • HTML elements used: section, form, button, input, select, textarea, label, svg.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive Tailwind breakpoints used: sm, lg.
View all Contact Sections (11)