@MahmoodHashem
Posted
Hello There
Congratulations on completing the challenge
Here are some helpful suggestions to further enhance your project:
-
You have successfully centered the card by using
flex
on the body, so there is no need to apply additional styling to themain
element for centering the card. This extra styling caused the card to occupy the entire vertical screen, which is unnecessary. It's best to let the content inside the card determine its height. Therefore, remove all the main selectors from the style. -
Keep in mind that the
text-align
property of the card has an inheritance characteristic, meaning that setting it to center will also center all its content, including the profile image. -
Don't forget to add
padding
to the card for a better appearance.
Hope you find this helpful
Great job overall
Marked as helpful