Skip to main content
ALEXY LINK

CTA 05

Centered newsletter card with a stacked avatar/star social-proof row and inline client-side form validation.

Requirements

HTML, CSS, JavaScript

Dependencies

None

Usage

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

About CTA 05

CTA 05 is a call-to-action section in the Call-to-Action Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 22, 2026.

  • cta
  • call to action
  • newsletter
  • social proof
  • avatars
  • form

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-label, aria-live.
  • HTML elements used: section, form, button, input, label, svg.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive CSS breakpoints at 640px.

React + TypeScript + Tailwind CSS

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

  • Typed data shapes: AvatarChip.
  • Uses React hooks: useState.
  • ARIA in the markup: roles status, alert; aria-label, aria-live, aria-invalid, aria-describedby, aria-busy.
  • HTML elements used: section, form, button, input, label, svg.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive Tailwind breakpoints used: sm, lg.
View all Call-to-Action Sections (28)