faq accordion card main css only

Solution retrospective
I had some problems to do responsive images, because when i resize the card the position of image do not stay in the correct place , so for the moment the solution have only 2 possible widths.
Feedback welcome, if there is some best practice to do it, just tell me
Please log in to post a comment
Log in with GitHubCommunity feedback
- @annapmarin
Good job!
Perhaps you could try to add a new functionality in JS that causes the other tabs to close (i.e. return to the inactive class when click another tab) via an "if", with "remove" and "add".
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