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

Mobile first pure html and css solution trying out BEM

Florian•50
@Flojo994
A solution to the Stats preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello there friends! this is my solution for the "Stats-preview-card". I'm happy for any tips you might have for a html and css beginner. I tried coding the mobile version first this time and using a media query to enable the desktop version. Any tips for improvement in that regard are very welcome as this was my first time using the media query. I also tried using the BEM methodology to name the classes at least. I wasn't to sure on the names for my containers. Are there any better class-names I could have used? Happy for your feedback :) Cheers Flo

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