Alex-coding-3420• 40
@Alex-coding-3420
Submitted
Thank you for looking at my solution for this project. Please share any insights or suggestions you have—I'm eager to learn and enhance my work further!
@amakura-411
@Alex-coding-3420
Submitted
Thank you for looking at my solution for this project. Please share any insights or suggestions you have—I'm eager to learn and enhance my work further!
@amakura-411
Posted
Just an amateur's opinion, I seems like to see html's height is not fit.
I checked the code you provided using developer tools, and the height of the screen's height is 800px, while the height of the <html> element is 569px.
So, I've made some adjustments to the code, adding height: 100vh; display: flex, justify-content: center;, and align-items: center; to the body's style
Here's the updated snippet:
body {
font-family: var(--font-family);
font-size: var(--font-size);
background-color: var(--light-gray);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
Surely, it should work out fine! Good Luck ALEX!
Marked as helpful