@dxiDavid
Posted
Hello there @Akiraz14 👋🏾
I have a suggestion that will help you write better code
- when setting custom properties, try giving them descriptive names like
--primary-font-color
instead of--color-1st
. It will make your CSS easier to read and understand. Also, try to set custom properties for styles such asfont-size
,font-weight
, (basically things you see in the style guide)border-radius
since they will most likely be used on more than one occasion. - Limit the use of pixels to things like
box-shadow
andborder-radius
, otherwise use relative units. - only look for references when you are absolutely stuck and cannot find a way out. don't waste time doubting yourself. If you have a working solution then good. come back and refactor later
The attention to detail in your solution is impressive💪🏾
Keep Going, happy coding🥂
Marked as helpful
@Akiraz14
Posted
@dxiDavid Hello 👋, thank you for your comments, they are very useful to me, I will keep your piece of advice in mind. 🦾