FAQ Accordion Card with React, styled component, animation
Design comparison
Solution retrospective
my site always has extra space on the bottom how can i get rid of it, thanks
Community feedback
- Account deleted
I think you should do overflow hidden to prevent it form having a scroll since it's all visible at once on the screen.
And what I would suggest is having one tab open at a time, opening another closes the other, to prevent the container from growing as a person opens all of them., making it too big.
1@LordAldiPosted over 3 years agothanks, i will try it in next project. that what i think after halfway through, but i choose not to do it. thanks for the suggestion
0 - @palgrammingPosted over 3 years ago
I am sorry I cannot answer your main question but I will point out that Id="root" is not really a good name for a container because you have the :root level of the document and they are too similar and can lead to confusion
instead of using the div with and id like that you could use more semantic tags like <main></main> for your main container https://www.w3schools.com/html/html5_semantic_elements.asp
0@LordAldiPosted over 3 years ago@palgramming i always do that because i think its good since CRA make it, thanks for this information
0
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