@denielden
Posted
Hi Nischhal, great work on this challenge! 😉
Here are a few tips for improve your code:
- You can add the effect
:hover
creating adiv
that appears on hover. I used tailwind but you can still see and understand which css properties you can use to do the same. Look here -> my solution - after, add
transition
on the element with hover effect - add
main
tag and wrap the card for improve the Accessibility - use
div
element notarticle
tag because article tag have a semantic meaning - remove all
margin
fromcontainer
class because with flex they are superfluous - add
justify-content: center
flexbox property to the body to center the card horizontally - instead of using
px or %
use relative units of measurement likerem
-> read here
Overall you did well 😁
Hope this help and happy coding!