Design comparison
SolutionDesign
Solution retrospective
Hello, I am fairly new to programming and would appreciate any tips and advice to help improve my code.
Community feedback
- @denieldenPosted over 2 years ago
Hey Makram, congratulations on completing the challenge! You did a great job 😉
Let me give you some little tips for optimizing your code:
- add
main
tag and wrap the card for improve the Accessibility - remove all unnecessary code, the less you write the better as well as being clearer: for example the
div
container of image - to make it look as close to the design as possible add
width: 20rem
to.card-container
class - add
width: 100%
toimg
element - instead of using
px
use relative units of measurement likerem
-> read here
Hope this help! Happy coding 😁
0@pharaohmakPosted over 2 years ago@denielden thank you for your response! I really appreciate the advice, very helpful!
1 - add
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