@adityaphasu
Posted
Hi! Good job on completing the challenge!ππ»
Your solution looks brilliant!πΈπΈ
One tip I can give you is that instead of using absolute units like px
you should use relative units like rem
, its better for responsivness.You can read about it more here ~
It might be tedious to go online and convert the exact pixel values to rem for the project so instead you can use a vs-code extension like px to rem to convert the px values you type in to rem instantly! ( I use it all the time π).
I hope this will helpful in your future projects.
Happy CodingπΊπ»
Marked as helpful
@solracss
Posted
@adityaphasu Yes and no, with padding and margin I tend to stick to px. https://medium.com/@sascha.wolff/dont-use-rem-em-for-paddings-margins-and-more-94e19026b000
For font-size I always use rem. For px to rem conversion I got my sass function that do all the math for me.