Design comparison
SolutionDesign
Solution retrospective
I found it very difficult to make a responsive Card, any suggestions?
Any suggestion on how can I improve my coding in general?
Community feedback
- @Hanka8Posted over 2 years ago
Hi, you should define the width of the container, so every of its child (images, text etc) sits in it.
I dont understand why you have such a big container margins - if you want to center it, use " display: block, margin-left: auto, margin-right: auto"
Also you have some unnesecary divs, you dont have to create a div for every element. Just give them a class instead.
Hope this helps!
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