Design comparison
SolutionDesign
Solution retrospective
any feedback to improve this solution will be highly appreciated
Community feedback
- @hyrongennikePosted about 2 years ago
Hi @Manish-d-art,
Nice job on completing the challenge
just a few suggestions, in you desktop media query replace the body rule with the following to center the card.
body { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
and maybe let only one accordion be open at a time you can simply just loop over all the accordions and remove the .show from the answer before adding it to the one that clicked on.
Hope this is helpful.
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