No Javascript at all - FAQ Accordion Card - HTML & CSS

Solution retrospective
Have you ever tried the Checkbox Hack? I did and I found it very ingenious. Do you know an alternative way to obtain the same result with CSS only? Let me know, if you'd like to. However, next time I'll try to replicate the challenge also with Javascript, it'll be fun!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MieszkoKowalik
You can also check out "details" element for CSS only accordion.
There are some issues on mobile landscape resolutions so you probably would need to set min-height for the container.
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