Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

stats-preview-card-component-main

P
Davy•320
@DavyZane
A solution to the Stats preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I tried to work in bad conditions (with people and noise around me) just to compare with a quiet work. In the end it makes a real difference, with not very pretty details on the design and in the code but left as is for this time.

What challenges did you encounter, and how did you overcome them?

I failed to apply the purple veil on the image.

I tried to apply a filter directly on the image, no solution found.

I also tried to put the image in the background of a div, then with a child div to apply a background color with a lower opacity, it works but impossible for me to find the right settings to be identical to the design.

I think the solution is elsewhere. Can you help me?

For now I left the image without any effect.

What specific areas of your project would you like help with?

Can you please tell me what method/function I could use to apply the correct purple filter to the image?

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Davy's solution.

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License