@correlucas
Posted
👾Hello @Jairth, Congratulations on completing this challenge!
Your solution its almost done and I’ve some tips to help you to improve it:
A better way to work this solution image, the product image is by using <picture>
to wrap it on the html instead of using it as <img>
or background-image
(with the css). Using <picture>
you wrap both images (desktop and mobile) and have more control over it, since you can set in the html when the images changes setting the screen size for each image.ote that for SEO / search engine reasons isn’t a better practice import this product image with CSS since this will make it harder to the image.
Here’s the documentation and the guide to use this tag:
https://www.w3schools.com/tags/tag_picture.asp
✌️ I hope this helps you and happy coding!
Marked as helpful
@Jairth
Posted
@correlucas Thanks for the advice! I knew that way of adding the images, but I didn't know it helped with SEO, I will keep it very much in mind in my next challenges. Thank you very much ^-^