Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Toggle Feature for Showing and Hiding Answers (Anjaliavv51#304
) ## Description I need to implement a toggle functionality for a FAQ-style component. Each question should reveal its corresponding answer when clicked, and if clicked again, the answer should be hidden. This feature will enhance the user experience by allowing users to view answers only when needed ## Related Issues None - Closes Anjaliavv51#286 ## Type of PR <!-- Mention PR Type according to the issue in brackets below and check the below box --> - [X] (bug) ## Screenshots / videos (if applicable) https://github.com/user-attachments/assets/ee1a7d61-07e2-4398-be5c-31f426b04624 ## Checklist <!-- [X] - put a cross/X inside [] to check the box --> - [X] I have gone through the [contributing guide](https://github.com/Anjaliavv51/Retro) - [X] I have updated my branch and synced it with project `main` branch before making this PR - [X] I have performed a self-review of my code - [X] I have tested the changes thoroughly before submitting this pull request. - [X] I have provided relevant issue numbers, screenshots, and videos after making the changes. - [X] I have commented my code, particularly in hard-to-understand areas.
- Loading branch information