Kimo Spark• 2,190
@kimodev1990
Posted
Really great work on completing the challenge, Just few feedbacks :-
- Wrap your container under main tag, for example :
<main>
<div class="container"></div>
</main>
- To center your container in the middle of your website, Instead of using
margin: 100px 0 0 550px ;
, You could add in the body :-
display: flex ;
justify-content: center ;
align-items: center ;
min-height: 100vh ;
then your container will be centered.
- In the future, It's better to assign percentage values instead of definite values for making flexible & responsive design. For example, Instead of
width: 240px :
in your image ,you could assignwidth: 90% ;
, so the width of image is 90% in relative to width of container in different viewport dimensions .
Hope you find this Helpful.
Other than that, Nice work & Keep going on....
Marked as helpful
0