@MelvinAguilar
Posted
Hello there ๐. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
-
px
is an absolute unit, meaning it stays fixed regardless of the user's preferences. On the other hand,rem
is a relative unit, specifically relative to the root element's font size Disadvantages ofpx
:- Pixel-based designs may not scale well when users adjust the font size in their browsers, potentially impacting accessibility.
- Designs in pixels might not be as responsive to varying screen sizes
Disadvantages of
rem
:- Calculations involving "rem" can be more complex.
-
Positioning elements with
position: absolute
can lead to significant issues. If you zoom in on your solution, parts might distort, separate, or overlap. It would be beneficial to use a grid for creating two columns and utilize flexbox or grid for centering to avoid these problems
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
@Shunlexxi
Posted
Hi @MelvinAguilar ,
Thanks a lot for taking out time to write this! And for recommending "grid" honestly, I just didn't think about it. I'll try implementing that. Regards