Design comparison
Solution retrospective
hey guys π I'm Felipe Godoy and this is my solution to the challenge
All feedbacks for improvements are welcome.
βοΈπ
Community feedback
- @VasJMPosted almost 2 years ago
Hello, Felipe! π This is a beautiful solution, but one critical error that is affecting the responsiveness of your project is the use of
px
instead ofem
. For CSS properties likemargin
,margin-*
,padding
,padding-*
,width
,*-width
,height
,*-height
, and when definingmedia queries
, it is recommended to use relative units likeem
instead ofpx
which is an absolute unit. I would also suggest not setting a fixedwidth
to your container, and instead usemax-width
, because changing my default browser font-size to 20px breaks your page, causing the text to overflow the card because you have given it a fixed size. Assuming you know how to convertpx
toem
, yourwidth: 1111px
should bemax-width: 69.4375em
, and if you set amax-width
you don't have to set amax-height
. Similarpx
toem
conversions need to made to the necessary CSS properties I mentioned above. I hope this makes sense!Another little problem, the
README.md
file used in your GitHub repo is the one provided my Frontend Mentor and not your personal one which is theREADME-template.md
file. You have to edit the template file as needed and then rename it (toREADME.md
) after deleting the one provided by FEM!I hope I have been of some help, Felipe! Feel free to reach out if you need me to expand on or clarify anything I said, or even if you need assistance with something else π
1@FelipeGodoy1Posted almost 2 years ago@VasJM Hello Vas, I appreciate your feedback. I will address the suggested layout improvements as soon as possible, converting the fixed px sizes to em and adjusting the README.
0
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