
Design comparison
Solution retrospective
I am proud of creating an accordion for the first time, without using any sort of component-based library. It was a tough process, but I am more or less happy with the end result.
What challenges did you encounter, and how did you overcome them?I had a couple of challenges in this project. The first, and major challenge, was trying to fit the img onto the body. I tried using background-image and could not get it to resize properly as the viewport changes. The second challenge was that whenever the accordion would open, it would create overflow on the horizontal scrollbar. I suppose I could use overflow: hidden, but I'm interested in knowing if maybe there is something off about my design.
What specific areas of your project would you like help with?Did I use background-image correctly? Is there another way to fix my overflow issue?
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