This repository has been archived on 2023-01-17. You can view files and clone it, but cannot push or open issues or pull requests.
old_tarasis.net/FrontendMentor/newbie/stats-preview-card-component
Robert McGovern d28e49011b edited readme 2021-08-11 10:36:35 +02:00
..
css tidied CSS, removed duplicate settings 2021-08-11 09:17:19 +02:00
design initial commit of stats preview card component, sans figma design 2021-07-05 01:51:15 +01:00
images initial commit of stats preview card component, sans figma design 2021-07-05 01:51:15 +01:00
.gitignore initial commit of stats preview card component, sans figma design 2021-07-05 01:51:15 +01:00
README-template.md finished layout, mostly. Desktop needs tweaking, mobile done 2021-08-07 02:07:00 +02:00
README.md edited readme 2021-08-11 10:36:35 +02:00
index.html finished layout, mostly. Desktop needs tweaking, mobile done 2021-08-07 02:07:00 +02:00
solution-desktop.jpg edited readme 2021-08-11 10:36:35 +02:00
solution-mobile.jpg edited readme 2021-08-11 10:36:35 +02:00
style-guide.md initial commit of stats preview card component, sans figma design 2021-07-05 01:51:15 +01: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.