Vanza Setia• 27,795
@vanzasetia
Posted
Hi, Mitko! 👋
Nice HTML markup! 👏
Five things that can be done better.
- Never use
px
unit for font sizes. Userem
orem
instead. Relative units such asrem
andem
can adapt when the users change the browser's font size setting. - Remove
font-weight: 400
from the<body>
styling. It is already the default styling. - Use
rem
unit for themax-width
of the.cards
. - Add some
padding
to the<body>
to prevent the cards from touching the edges of the page. - Import the Google Fonts using
<link>
tags instead of@import
for better performance.
I hope this helps. Happy coding! 😄
Marked as helpful
0