@Matt971x
Posted
Hi, congratulations on completing your challenge. To center a child in its parent you can use flex in this case:
body = parent .card = child
body { height:100vh; display:flex; justify-content:center; align-items:center; }
i'm a beginner too so i hope that my comment will be helpful. keep coding !
Marked as helpful
@N4thxn
Posted
@Matt971x,
Thank you for the comment, I was just practicing my main structure for HTML and CSS. I will go ahead and fix this though, thank you.