@bccpadge
Posted
Hello @ifumikuah. Congratulations on completing this challenge!!!π
To center your component in the middle of the page you can use Flexbox or CSS Grid on the <body>
Flexbox
body{
display:flex;
justify-content:center;
align-items: center;
min-height:100vh;
}
CSS Grid
body{
display:grid;
place-content: center;
min-height:100vh;
}
Here is my solution to this challenge Result summary component
I hope you find this useful and don't hesitate to reach out if you have any questions
Marked as helpful