P
David Tsanava• 50
@datots
Posted
Hello, thanks
0
@datots
Posted
Hello, thanks
@weldu0
Posted
hey David I was reviewing your code and noticed an opportunity for improvement.
display: flex
for the body
like this: body {
display: flex;
flex-direction: column;
justify-content: center;
height: 100vh;
}
This will make it easier to center the card-container
. If you want to learn more about Flexbox
, here is a great MDN doc. If you want a fun way to learn, Flexbox Froggy is great—it's what I personally used while learning Flexbox.
One thing I do not understand is why you chose to use JS for this simple UI?
Overall, it looks great; it just needs a bit of adjustment.
You're doing a great job! 👍 keep coding!
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord