Melvin Aguilar ๐ง๐ปโ๐ปโข 61,220
@MelvinAguilar
Posted
Hello there ๐. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
HTML ๐ท๏ธ:
- Wrap the page's whole main content in the
<main>
tag.
- You should use a CSS reset. A CSS reset is a set of CSS rules that are applied to a webpage in order to remove the default styling of different browsers.
- To center the element correctly, use a height on the body element to provide a reference point for vertical centering. Also, use
align-items: center;
to center it.
body {
display: flex;
justify-content: center;
background-color: #f5d04e;
min-height: 100vh;
align-items: center;
}
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
Marked as helpful
0