Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I've made this project with more confidence than the previous one.
What challenges did you encounter, and how did you overcome them?The only thing it took me a while was the image resize and some details.
What specific areas of your project would you like help with?Any suggestions will be appreciated.
Community feedback
- @jwalczak94Posted 6 months ago
Hi, good job on completing this challenge !
I have a some tips to boost your CSS code:
- instead of using pixels (especially in in font-size), you use relative units like rem. In case of font-size when you using px it does not scale with the user's browser settings.
- it is very bad practice to give a body a rigid width and height value, just do it on the card component ;)
- to center the card you can use the code below
body { display: grid; place-content: center; }
Happy coding!
Marked as helpful0
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