Design comparison
Solution retrospective
Finally, I was able to create an Accordion by myself without referencing any structure guides. I designed the structure of the Accordion and handled the JavaScript DOM manipulation purely based on my own ideas. However, I might need some feedback regarding its structure and accessibility.
What challenges did you encounter, and how did you overcome them?First, I faced the challenge of making the Accordion reusable with the same structure without interfering with other Accordions during interaction. I got all the Accordion wrappers and added event listeners to each item so that when an Accordion controller is interacted with, it only affects its own parent.
What specific areas of your project would you like help with?Regarding the Accordion structure, accessibility, ARIA attribute usage, and JavaScript DOM manipulation, I am seeking best practices.
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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