@vanzasetia
Posted
Hi, Edson Ruiz! 👋
For the image overlay, I recommend using mix-blend-mode
property. To use that property you need to use an actual <img>
element. Then, reduce the opacity of the image to 0.75
.
You can see @DarrickFauvel's solution as your reference.
Frontend Mentor | Stats preview card component - HTML / Sass / Grid coding challenge solution
I recommend having one stylesheet for this project. This way, the site will only have to do one request to get all the styling. It means the site will load faster. Also, in my opinion, five stylesheets for this size of project are overkilled.
Wrap the text with a meaningful element like a paragraph element. There should not be text in <span>
and <div>
alone.
Use a list element for the statistic. Then, use the <picture>
element for the image if you decide to put the image on the HTML markup.
I hope this helps. Happy coding! 👍
Marked as helpful