Design comparison
Solution retrospective
I'm resubmitting this with feedback taken, using flexbox to center the component. Any other feedback on the css is welcomed.
Community feedback
- @correlucasPosted about 2 years ago
๐พHi @smara-gda, congratulations on your first solution!๐ Welcome to the Frontend Mentor Coding Community!
Great solution and a great start! From what I saw youโre on the right track. Iโve few suggestions for you that you can consider adding to your code:
1.Use relative units as
rem
orem
instead ofpx
to improve your performance by resizing fonts between different screens and devices. These units are better to make your website more accessible. REM does not just apply to font size, but to all sizes as well.2.No need to use media query in this challenge since your container is already responsive and will adjust to the screen size.
3.Use a CSS reset to avoid all the problems you can have with the default CSS setup, removing all margins, and making the images easier to work, see the article below where you can copy and paste this CSS code cheatsheet: https://piccalil.li/blog/a-modern-css-reset/
โ๏ธ I hope this helps you and happy coding!
Marked as helpful0@smara-gdaPosted about 2 years ago@correlucas thank you so much for your feedback! Much appreciated.
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