Design comparison
SolutionDesign
Solution retrospective
Had a rough time with properly placing the image and trying to figure out a non js solution to the accordion effect. In the end it felt really wonky to have a form just to record if its clicked so I just went with using js.
Community feedback
- @MilleusPosted almost 2 years ago
Hello! Congrats on completing the challenge. I recall having a rough time with the image placements as well heh..
Anyways, I wanted to share that one of the non-JS solutions is to use HTML <details> and <summary>.
But this requires a little extra CSS to remove the disclosure triangle for webkit-based browsers.
Hope this helps and happy coding~
Marked as helpful0
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