A note here about semantic tags.
Interactive elements must be either buttons (if they do something like submit a form) or anchors (if they are a link for navigation). Whenever you see a hover-effect in a design, that implies it is an interactive element.
So here, the image and the heading and the username must all be wrapped in interactive elements. Those will then get :hover
and :focus
or :focus-visible
styles in the css.
Thinking about this further still. The design doesn't specify whether these should be buttons or anchors. But if we imagine a real card. Probably when we click on the title we would go to a detail page. And when we click on a username then we'd go to that user's profile. So those should both be in anchor tags. When we click on the image, we might expect a bigger version of the image to open in a lightbox overlay. In which case it should be a button. Or it might navigate to a full page with a large image, in which case it should be an anchor. You can decide which makes most sense there.
Marked as helpful
@MuhammadTatma
Posted
hey @AlexKMarshall thank you for taking your time to check my work and giving suggestion with well explanation. helped me to improve and keep going, very much appreciated. i'll try to implement all mentioned points as you suggested