@correlucas
Posted
👾Hello Diaa, Congratulations on completing this challenge!
Here’s some tips to improve your solution code:
1.Save your time using a CSS RESET to remove all default settings that are annoying as the margins, paddings, decorations and optimize it making 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/
2.You’ve used px
as the unit for sizes but the problem with pixels is that its not optimized for multiple devices and screens. So a good fit its to use rem
or em
that have a better performance and make your site more accessible between different screen sizes and devices. REM
and EM
does not just apply to font size, but to all sizes as well.
✌️ I hope this helps you and happy coding!
Marked as helpful
@diaaFaris
Posted
@correlucas Thank you Lucas for your advice it was so helpful and I will apply these tips in my future projects.