Design comparison
Solution retrospective
I would love to hear your thoughts! If you have any suggestions or recommendations for improvement, I'd be thrilled to hear them. Your feedback is invaluable and will help me to learn the new skills .
Community feedback
- @KapteynUniversePosted 10 days ago
Hey Sediqa, nice job.
For the issue @Chidolue mentioned: I think removing the
margin: 5rem;
from .card would be better. Because around 500px card starting to shrink and become very small. If you don't want card to touch edges on small screens, you can change the to something likemargin: 0.5rem;
justify-content: space-around;
on .content doesn't work because justify-content is for the parent flex container property. You need to use flex on the content if you want it to work..content { padding: 25px; color: var(--dark-grayish-blue); display: flex; flex-direction: column; gap: 1rem; }
@media screen and (min-width: 768px) { .content { width: 75%; justify-content: space-between; /* I changed this to between, small difference but looks better than around i think */ }
I guess you can also remove every margin-top from the content elements if you use flex and space-between.
I look this page for flexbox tricks and other things.
Marked as helpful0 - @ChidoluePosted 10 days ago
I think you can make the width on mobile a bit wider, try checking the mobile view preview in the design folder.
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