Design comparison
SolutionDesign
Community feedback
- @kenertjPosted about 2 years ago
Hey, I like your solution, especially the floating animation.
Here are my few suggestions:
- Usually the best practice for FAQ-s is that only one card is shown at a certain time. So when you click on the second FAQ item to open, the previous one closes. You can archive that with Javascript. With React, the useState hook can be used there.
- On the Desktop when I open the cards, they disappear from the view and the Container does not change the height to fit them. On mobile it works, but not on desktop.
0@Rajeshsingh127Posted about 2 years ago@kenertj thanks for the feedback !! Yeah I forgot to make that scrollable, my bad.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord