Stats Preview Component

Solution retrospective
This was a fun challenge. I had some trouble with the image tint and didn't really understand how I could match the design tone but I tried my best. Possibly the responsiveness could also use some work. Let me know what you think!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Sam-Guliker
Hey,
Seems pretty good, you're almost there. Have you tried looking int CSS filters? https://developer.mozilla.org/en-US/docs/Web/CSS/filter
Another option might be to set an absolute div above the image and use a purple color.
Happy coding
Marked as helpful - @skyv26
To avoid accessibility issues:
- wrap everything in your body in <main> OR give role="" to the direct children of your <body> ... Click here to read more here
Good Luck
Marked as helpful - @yohannesakd
I have not looked at CSS filters, they look quite interesting. I used a pseudo element on the image div to give it the color, but it wasn't quite right. I'll take a look at it again. Thank you for the reply!
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord