rmcg.dev/projects/FrontendMentor/newbie/stats-preview-card-component
Robert McGovern 2d01d6acaa merged old main, rearranged files 2022-02-05 22:41:45 +00:00
..
css merged old main, rearranged files 2022-02-05 22:41:45 +00:00
design merged old main, rearranged files 2022-02-05 22:41:45 +00:00
images merged old main, rearranged files 2022-02-05 22:41:45 +00:00
.gitignore merged old main, rearranged files 2022-02-05 22:41:45 +00:00
README-template.md merged old main, rearranged files 2022-02-05 22:41:45 +00:00
README.md merged old main, rearranged files 2022-02-05 22:41:45 +00:00
index.html merged old main, rearranged files 2022-02-05 22:41:45 +00:00
solution-desktop.jpg merged old main, rearranged files 2022-02-05 22:41:45 +00:00
solution-mobile.jpg merged old main, rearranged files 2022-02-05 22:41:45 +00:00
style-guide.md merged old main, rearranged files 2022-02-05 22:41:45 +00:00

README.md

Frontend Mentor - Stats preview card component solution

This is a solution to the Stats preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • View the optimal layout depending on their device's screen size

Screenshot

Two screenshots, the first is the Desktop solution, then the mobile solution. The mobile is the closest, I decided not to chase doing getting the Desktop one spot on.

Desktop

Mobile

My process

This was a little tricky just from the point of view that I hadn't done any HTML/CSS dev / study in 9 months. So it was a case of trying to remind myself of various options that I could do.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

The main thing was to just let my solution go. In previous ones I would iterate lots to make it as close as I felt I could make it.

As I did most of this one a couple of weeks ago and forgot to take notes I can't really comment on anything else I learnt.

Author

Acknowledgments

Matt at Frontend Mentor for coming up with the idea of challenges like this.