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
Open
Implement Expand/Collapse Accordion UI for FAQ Section with Improved Spacing and Hover Effects#888Aarya-Chaudhari wants to merge 7 commits intosayeeg-11:mainfrom
Aarya-Chaudhari wants to merge 7 commits intosayeeg-11:mainfrom
Conversation
Contributor
Author
|
Hello @sayeeg-11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 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)
Closes #862