Skip to main content
FREE Mock interview & resume review with Sumit. Free right now, no payment needed.Book a slot

Accordion

Problem 4basic12 mins

Accordion

Created on: 31 Aug 2025, 11:03 AM

Time Elapsed
00:00
Problem Description

Create an accordion component that expands and collapses sections. Support single or multiple open items.

Requirements

  • •Expand/collapse
  • •Smooth animations
  • •Single/multiple mode
  • •Accessible (ARIA)
  • •Icon animations

Tags

JavaScriptDOMAccordionAnimation
Code Editor

Loading editor...

Problem discussion

(0)

Join the discussion — login to comment and help other developers.

Login to comment