@correlucas
Posted
πΎHi Kritika, congrats on completing this challenge!
Nice solution and nice code! I can see that you paid a lot of attention to your code/design. If you donβt mind Iβve some tips for you:
Fix the alignment of the whole content using flex
and min-height
to manage the vertical alignment and make everything centered.First of all put min-height: 100vh
to the body
to make the body display 100% of the viewport height (this makes the container align to the height size that's now 100% of the screen height) size and display: flex
e flex-direction: column
to align the child element (the container) vertically using the body as reference.
body {
MIN-HEIGHT: 100VH;
background-color: hsl(204, 43%, 93%);
font-family: 'Karla', sans-serif;
/* DISPLAY: FLEX; */
display: flex;
align-items: center;
justify-content: center;
}
βοΈ I hope this helps you and happy coding!
Marked as helpful