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

Stats preview card component

P
Clifford Anderson•200
@cdanderson76
A solution to the Stats preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This one became a much bigger challenge than I had anticipated. I was attempting to utilize CSS Grid to put this project together (because I wanted to practice), but after dealing with additional whitespace with the photograph included with this project, I decided to switch back over to Flexbox. After doing so, I went through the project fairly smoothly, but I couldn't get my desktop design the way that I needed it to be. I ended up having to ditch the entire desktop solution and create another CSS file just so I could break away from any common connections with the original CSS file. Once I got the design the way that I needed it to be, I deleted the extra file and used a media query in the original. I tried cleaning up the code as much as I could as well...

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 Clifford Anderson'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
  • Use cases

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