@correlucas
Posted
👾Hello Goodnews, Congratulations on completing this challenge!
Your solution its almost done and I’ve some tips to help you to improve it:
1.The colors you’ve used are a little bit different from the original colors.When you download the project files there’s a file called style-guide.md
where you can find information such as font-family
, hsl color codes
, device sizes and the font-size
for the headings.
2.Use units as rem
or em
instead of px
to improve your performance by resizing fonts between different screens and devices. These units are better to make your website more accessible. REM does not just apply to font size, but to all sizes as well.
3.Using <picture>
you’ve more control over the elements and its better than using the product image as <img>
or background-image
. Look that for SEO and search engine reasons it isn't a better practice to import this product image with CSS since this will make it harder to the image. You can manage both images inside the <picture>
tag and use the html to code to set when the images should change setting the device max-width
depending of the device (phone / computer) Here’s a guide about how to use picture
: https://www.w3schools.com/tags/tag_picture.asp
✌️ I hope this helps you and happy coding!
Marked as helpful