Design comparison
SolutionDesign
Solution retrospective
feedbacks will be highly appreciated. Thanks!
Community feedback
- @osoriodevPosted about 3 years ago
Hello @Zeighnab. Great solution. Some things you might consider are:
- Have a CSS file with all the styles, independent of the html. This is because if the project grows it can be more scalable.
- In the mobile view you set the container with
display: flex
andflex-direction: column
, this is unnecessary because the article element has default block display. That makes each element below the other. - If you want the card to have a border-radius, you just need to apply it to the card and set a
overflow: hidden
. This will save you lines of code. - And the buttons must also have the Lexend Deca font family.
Hope this can help you.
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