Skip to main content
ALEXY LINK

FAQ 05

Split FAQ section pairing concise introductory copy with a compact vertical accordion.

Requirements

HTML, CSS, JavaScript

Dependencies

None

Usage

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

About FAQ 05

FAQ 05 is an FAQ section in the FAQ Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 19, 2026.

  • faq
  • accordion
  • split layout
  • contact

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: role region; aria-label, aria-expanded, aria-controls, aria-labelledby.
  • HTML elements used: section, button, svg.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive CSS breakpoints at 1024px.

React + TypeScript + Tailwind CSS

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

  • Typed data shapes: FAQItem.
  • Uses React hooks: useId, useState.
  • ARIA in the markup: role region; aria-expanded, aria-controls, aria-labelledby.
  • HTML elements used: section, button, svg.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive Tailwind breakpoints used: sm, lg.