Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 4 years ago

Stats preview card made using HTML and CSS flex

Tom•115
@Tom2612
A solution to the Stats preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


My first completed project. Really enjoyed applying some of the principles I have been learning! I would like feedback on:

How to get the right color overlay for the image as I can't seem to fine-tune it to the same purple;

When in mobile mode, I can't get rid of the margin of the bottom h3 element, despite using @media query of h2 in the form: .headings:last-child { margin: none; } This doesn't take the margin off it.

Otherwise, thank you for looking and if you spot anything I didn't, I'm happy to receive feedback!

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 Tom'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

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