Account Deleted
Hey Olanrewaju, congratulations on completing the challenge! You did a good work π
Let me give you some little tips for optimizing your code:
- remove all
margin
fromcontainer
class and setwidth: 22rem
- 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 π by Travolgi
Marked as helpful
@Olanrewaju-Ak
Posted
@travolgi thank you for your feedback. It worked
Account Deleted
@Olanrewaju-Ak You are welcome! Keep it up :)