Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

โœŒ๐ŸปA Responsive Stats Preview Card ComponentโœŒ๐Ÿป

Shivโ€ข350
@undrthegraveyard
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?

The responsiveness could have been better.

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

One tricky part was to switch the places of the content and images, when the design scaled from mobile to desktop version.

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

In my styles.css file, at the end, there is two line of code

.card__image{ order: 2; }
.card__content{ order: 1; }

The purpose of this was to switch the position of the image and the content on the card. I was wondering is there a better way to implement this into my code more efficiently.

I would really appreciate your feedback as always! ๐Ÿ˜

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