Design comparison
Solution retrospective
Hi guys 😉 this is the result of this challenge. It was preety cool to do this challenge there were some new features I learnt here like form validation using Javascript ... I'll be happy to hear any feedback or how I can improve my code.
Community feedback
- @VenusYPosted over 2 years ago
Great job with this challenge! I like the success icons that appear when the user submits a valid value, that was a nice touch.
If you want to center the content on the page, one way to do this is by setting the height of
<div id="container'>
to100vh
, then applyingdisplay: flex;
,justify-content: center;
, andalign-items: center;
to it.One downside of this method of centering objects is that when the height of the content exceeds the height of the viewport, the content can be cut off. However, this is easily fixed by adding
height: auto;
to the container.Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin our Discord community
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