@Youssef5107
Posted
Hello,zealx2
Congratulations on completing "QR Code Component" challenge . I have some advices to help you improving it , add:display: flex; instead of display: grid; (to use the flex properties ) justify-content: center;(to center horizontally) align-items: center; (to center vertically ) height: 100vh;(to make sure that the body take the whole page height) on the body to center the card, + there is "<" in your html code delete it if it by fault .
Marked as helpful
@zealx2
Posted
THank you so much, with your help I was able to fix it. I followed your instructions, changed the display from grid to flex, add justify-center: center to the body, and align-item: center. Thank you ones again[@Youssef5107