Melvin Aguilar ๐ง๐ปโ๐ปโข 61,200
@MelvinAguilar
Posted
Hello there ๐. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
- The
<span>
tag is primarily used to style specific portions of text. It's not necessary to enclose all elements with it; for that purpose, the <div> tag is more suitable.
- You should use the
cursor: pointer
property to indicate that the element like a button or a link is clickable.
- Use
min-height: 100vh
instead ofheight
. Setting the height to 100vh may result in the component being cut off on smaller screens, such as a mobile phone in landscape orientation.
- "Fun fact: This exercise would have been perfect for using grid layout!
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
Marked as helpful
1