Travolgi 🍕• 31,500
@denielden
Posted
Hi Sebastian, I took some time to look at your solution and you did a great job!
Also I have some tips for improving your code:
- add
main
tag and wrap the card for Accessibility - add descriptive text in the
alt
attribute of the image - remove all unnecessary code, the less you write the better as well as being clearer: for example the
header
tag container of image - To make it look as close to the design as possible set
width: 22rem
tocomponent
class - instead of using
px
or%
try to use relative units of measurement likerem
-> read here
Overall you did well :)
Hope this help and happy coding!
Marked as helpful
1