Skip to content

Implement Expand/Collapse Accordion UI for FAQ Section with Improved Spacing and Hover Effects#888

Open
Aarya-Chaudhari wants to merge 7 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:faqs
Open

Implement Expand/Collapse Accordion UI for FAQ Section with Improved Spacing and Hover Effects#888
Aarya-Chaudhari wants to merge 7 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:faqs

Conversation

@Aarya-Chaudhari
Copy link
Contributor

📋 Description

This PR converts the static FAQ card layout into a structured accordion-style interface where answers are hidden by default and expand on user interaction. It also enhances the UI by adding proper spacing between FAQ items, rounded corners, and smooth hover effects to improve readability and visual hierarchy.

The new design reduces visual clutter, makes the FAQ section easier to scan, and provides a cleaner and more modern user experience.

Changes Made
Replaced static FAQ card grid with accordion structure in faq.html
Added expandable/collapsible functionality using JavaScript
Styled accordion with:
Rounded corners
Card-based layout
Spacing between questions
Hover lift and background effects
Smooth chevron rotation animation
Ensured only one FAQ item expands at a time for better UX
Maintained responsiveness and existing theme compatibility

📸 Screenshots (MANDATORY for UI/UX changes)

Screenshot 2026-02-19 093714
  • This PR includes UI/UX changes → Screenshots attached
  • This PR does NOT include UI/UX changes

Closes #862

@Aarya-Chaudhari
Copy link
Contributor Author

Hello @sayeeg-11
I have raised a PR resolving issue #862 and have also resolved merge conflicts.
Please review adn let me know if any changes needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Implement Expand/Collapse Accordion for FAQ Items

1 participant

Comments