@AdrianoEscarabote
Posted
Hi Saravana Kumar, how are you? Welcome to the front-end mentor community! I really liked the result of your project, but I have some tips that I think you will enjoy:
A good practice to center content is using grid
or flex-box
, avoid using margin or padding to make placements, use only in the latter case! we can do it like this:
Flex-box:
body {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
min height: 100vh;
}
GRID
body {
display: grid;
min height: 100vh;
place-content: center;
}
To improve the code structure wrap this div:
<div class="attribution">
with the semantic tag footer
The rest is great!
I hope it helps... 👍
Marked as helpful
@Saravana16041999
Posted
@AdrianoEscarabote thank you for helping me i will do my best to improve myself and fix the errors!