Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
-
I learned about the
details
element which is semantic html tag for creating accordion. -
I also learned how to hide the default triangle icon of details element on webkit based browsers(Safari) using ::-webkit-details-marker selector
- I had some issues with accordion sections kept open even if the other sections are opened.
- In Chrome and Safari using the same name attribute on details element helped solve this issue.
- But in Firefox it doesn't work that way. It can only be done using javascript. But for this solution I tried not to use any JS.
- So, for future development I will add the JS to fix that issue
Any feedbacks are welcome
Community feedback
- @kaamiikPosted 3 months ago
Congrats for completing this challenge. The one thing I noticed that I can close all accordions and I'm not sure It's ok or not. I read this reference for doing this challenge and He said that It's not ok. Still I'm not sure witch one is ok.
1
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