Design comparison
SolutionDesign
Solution retrospective
Kindly review and feedback. Thanks.
Community feedback
- @MelvinAguilarPosted about 1 year ago
Hello there ๐. Good job on completing the challenge !
I have some small suggestions about your code that might interest you.
CSS ๐จ:
- Instead of using pixels in font-size, use relative units like
em
orrem
. The font-size in absolute units like pixels does not scale with the user's browser settings. Resource ๐.
- To center the component in the page, you should use Flexbox or Grid layout. You can read more about centering in CSS here ๐.
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
Marked as helpful1 - Instead of using pixels in font-size, use relative units like
- @eniskrtPosted about 1 year ago
Good job!. But to get card in the middle of the page you should your body body{ height:100vh; display:flex; justify-content:center; align-items:center; } good code!
1
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