FAQ Accordion

Solution retrospective
I was able to get the solution done with only HTML and CSS. I challenged myself to use the built in functionality of the <details>
tag and leverage its properties to apply the needed styling.
Besides figuring out how to removed the <details>
tag marker and adding styling to it nothing else was much of a challenge.
I would say the scss used to apply the styling to the <details>
tag, should I have done it with JS instead?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @FR-UX-EN
Good job! Since I didn't know the details/summary tag, I implemented it from scratch using div and JS. It wasn't that tricky but it would have been much easier if I used appropriate HTML tags.
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