@DarkstarXDD
Posted
- You should have a
<main>
landmark element. Reference - Your attribution should go inside a
<footer>
landmark. - Currently your component is not properly responsive. One main reason for that is you have set fixed widths for the
.card
. You shouldn't set fixed widths for containers. It takes away the containers ability to dynamically resize. To fix that, on your.card
, instead ofwidth
usemax-width
. - Remove the
height
of the.card
. Let the content inside the card decide it's height. No need to specify fixed heights. - Change the
width
of the image to be100%
instead of a fixed size inpx
. Also remove theheight
of the image or set it toauto
. Now if you use the browsers developer tools and resize the screen size you will see it's properly responsive.