Account Deleted
Hey Hasan, 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 - add descriptive text in the
alt
attribute of the images - centering a
div
withabsolute
positioning is now deprecated, it uses modern css likeflexbox or grid
- remove all
margin
fromwhite-card
class - use flexbox to the body to center the card. Read here -> flex guide
- 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
Hope this help! Happy coding 😁 by Travolgi
Marked as helpful
@HasanWael
Posted
@travolgi I think now the code is a lot better, take a look.
Account Deleted
@HasanWael now it's much better! Great work keep it up :)