@correlucas
Posted
👾Hello @zkris-69, Congratulations on completing this challenge!
Your solution its almost done and I’ve some tips to help you to improve it:
1.Use the tag <picture>
to wrap the product image inside 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
2.Replace the <h2>
containing the main title with <h1>
note that this title is the main heading for this page and every page needs one h1 to show which is the most important heading. Use the sequence h1 h2 h3 h4 h5 to show the hierarchy of your titles in the level of importance, never jump a level.
✌️ I hope this helps you and happy coding!
Marked as helpful
@ly-math
Posted
@correlucas thank you for your advice. i'll keep it in mind <3