Design comparison
Solution retrospective
What did you find difficult while building the project? Ans: This is my first project, at first I don't understand how I start. But when I ask google, it's become much easier. Which areas of your code are you unsure of? Ans: Nothing else. Do you have any questions about best practices? Ans: Please review my code and describe me best coding practice. Thanks.
Community feedback
- @denieldenPosted almost 2 years ago
Hello Moshiur, You have done a good work! π
Some little tips to improve your code:
- add
main
tag and wrap the card for improve the Accessibility - also you can use
article
tag instead of a simplediv
to the container card for improve the Accessibility - add descriptive text in the
alt
attribute of the images - remove all
margin
fromcard
body - after, add
min-height: 100vh
to body because Flexbox aligns child items to the size of the parent container - instead of using
px
use relative units of measurement likerem
-> read here
Keep learning how to code with your amazing solutions to challenges.
Hope this help π and Happy coding!
Marked as helpful1@MoshiurRaihan95Posted almost 2 years ago@denielden Thanks for your valuable feedback.
1@denieldenPosted almost 2 years ago@MoshiurRaihan95 you are welcome and keep it up :)
0 - add
- @suhaybjirdePosted almost 2 years ago
congrats well doneπ for my advice try to remove these media quarries
@media(min-width: 500px){ .container{ width: 400px; } } @media(max-width:767px){ .container{ padding: 1rem; } .container h1{ font-size: 23px; } .container p{ padding-left: 1.8rem; padding-right: 1.8rem; } }
you can style it with out these check out my code for this challenge as a reference
Marked as helpful1@MoshiurRaihan95Posted almost 2 years ago@suhaybjirde Thanks for your valuable feedback.
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