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.
HTML π:
- Figure elements (
<figure>
) should only be used when captions are required with<figcaption>
, you can directly use the div tag in this solution.
CSS π¨:
- The only background that should be part of the solution is the blue background, the white part is not necessary, it's just a nice way to show a preview of the solution.
- Setting the width of the card component with a percentage or a viewport unit will behave strangely on mobile devices or large screens. You should use a max-width of
320px
or20rem
to make sure that the component will have a maximum width of320px
on any device, also remove thewidth
property with a vw value.
I hope you find it useful! π Above all, the solution you submitted is great!
Happy coding!
0