Design comparison
Solution retrospective
Feedbacks are welcome!
/** I don't know, but worked **/ I tried adjusting the display grid to the mobile version but doesn't work properly (the second div was merging the first). To display correctly, it was necessary to reload the page (just reload!). So, analyzing the dev-tools, I noticed the user agent was loading a display: block (when the content was correct). Changed the display type, the problem was solved. But I didn't get well what happened. (>_<)"
Community feedback
- @jmnyaregaPosted over 3 years ago
Hi @hemanuela, you did an amazing job on this. I have a few recommendations
- Prefer relative units ems/ rems to pixels
- Using ids in CSS can cause problems with maintainability, specificity, performance etc. Why IDs Can be Problematic in CSS. Use classes instead.
Marked as helpful0@hemanuelaPosted over 3 years ago@jmnyarega Thank you! I really have some doubts about id and classes. This link was very helpful. I guess I understood what I can improve =D
Ems/ rems = I really need to understand it (x_x)' My first code was with rem (the person who was teaching me show me how to use rem), but I was in doubt if this was the best way. Thank you!
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