
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Tonye-Onuoha
Nice work Marko. I noticed you used a min-height on your FAQ container to prevent it from growing too large but it ended up leaving that extra space at the bottom.
Here's a link you can use to learn how to center your FAQ container : https://www.freecodecamp.org/news/how-to-center-an-absolute-positioned-element/.
Once that has been achieved you can then simply set the height of the container like "height: fit-content;". This was how I got mine to only grow with the size of the content respectively. Took me a little while though, but I'm glad I was able to figure it out at the end.
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