@Kamlesh0007
Posted
Congratulations on completing the challenge! That's a great achievement, and I'm sure you put a lot of effort into it. I really liked the way you approached the challenge and the code you wrote. You demonstrated a good understanding of the concepts and applied them effectively to solve the problem.I have a few suggestions to improve your code further. When it comes to centering a div or any element on a webpage, using margins may not always be the best approach. so use flexbox or grid layout for centering the div
Here's an example code snippet:
body {
font-family: 'Hanken Grotesk', sans-serif;
min-height: 100vh;
display: grid;
place-items: center;
}
now remove below lines of code
.container {
margin: 122px 240px;
}
Marked as helpful
@asinarpit
Posted
Bro plz review my project. I am a beginner so any suggestions would of great help to me@Kamlesh0007
@Kamlesh0007
Posted
@asinarpit already shared bro u need to make the container center use above code
@asinarpit
Posted
No u haven't..the above one is not my project@Kamlesh0007
@Kamlesh0007
Posted
@asinarpit ok