@James-alderson
Posted
Hi Anandu Babu, I have also used picture tag for this, I think this is the best way to change the image, because for mobile and desktop resolution you don't need to change the image again in the CSS code. You can do it just by writing an extra line of code in the HTML code.
Anandu Babu, the project you designed the width of image card and content card elements are not same, you can solve this problem by putting this style (flex: 1 1 50%;) in image and card__content classes.
Happy coding 🚀
Marked as helpful