FAQ Accordion card (mobile first)

Solution retrospective
Hello, I need help on this one, my mobile version is okay, but I'm really unhappy with the desktop one.
-
How to position the desktop images (on the left) properly, and how to hide the "overflow" of them?
-
How to improve the javascript so that, you can only open one question at a time, when you click another one the previously opened automatically closes, and how to make it work with my css max height transition?
Thank you! 🙂
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on J'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