Responsive FAQ Accordion Card - JavaScript and SASS

Solution retrospective
This was a really nice project. I had a bad, but great time, positioning the illustrations in the beggining, but after understanding a little bit of it, I found it better to handle. Even though, I will accept any suggestions or comment about it!
About setting the container card, I think it could improve a little bit, by not growing that much by showing up the info from the questions. Or, to add a transition to the info showing, but using "display: none" doesn't allows me to add animations to it.
Also, I tried to do my JavaScript code as simple as would be, but if it's possible to improve, let me know!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Roonder's solution.
Join 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