Skip to main content
ALEXY LINK

FAQ 15

Classic centered FAQ accordion with clean disclosure controls and smooth transitions.

Requirements

HTML, CSS, JavaScript

Dependencies

None

Usage

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

About FAQ 15

FAQ 15 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
  • centered
  • classic

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.

React + TypeScript + Tailwind CSS

3 files: FAQ15.jsx, FAQ15.types.ts, FAQ15.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.