Melvin Aguilar ๐ง๐ปโ๐ปโข 61,220
@MelvinAguilar
Posted
Hello there ๐. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
- Setting the width of the component with a percentage or a viewport unit will behave strangely on mobile devices or large screens. You should use a max-width to make sure that the component will have a maximum width on any device, also remove the
width
property with a percentage value or vw.
- Avoid using vh for height, especially on small screens, as it can lead to content overflow. Test by zooming in to observe this behavior. Let the content determine the height or use min-height to allow the component to resize on any screen.
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
Marked as helpful
0