rmcg.dev/projects/FrontendMentor/newbie/stats-preview-card-component/README.md

66 lines
2.2 KiB
Markdown
Raw Normal View History

2021-08-11 10:36:35 +02:00
# Frontend Mentor - Stats preview card component solution
2021-08-11 10:36:35 +02:00
This is a solution to the [Stats preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/stats-preview-card-component-8JqbgoU62). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
2021-08-11 10:36:35 +02:00
## Table of contents
2021-08-11 10:36:35 +02:00
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)
- [Acknowledgments](#acknowledgments)
2021-08-11 10:36:35 +02:00
**Note: Delete this note and update the table of contents based on what sections you keep.**
2021-08-11 10:36:35 +02:00
## Overview
2021-08-11 10:36:35 +02:00
### The challenge
2021-08-11 10:36:35 +02:00
Users should be able to:
- View the optimal layout depending on their device's screen size
2021-08-11 10:36:35 +02:00
### Screenshot
2021-08-11 10:36:35 +02:00
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.
2021-08-11 10:36:35 +02:00
![Desktop](./solution-desktop.jpg)
2021-08-11 10:36:35 +02:00
![Mobile](./solution-mobile.jpg)
2021-08-11 10:36:35 +02:00
### Links
2021-08-11 10:36:35 +02:00
- Solution URL: [Solution on GitHub](https://github.com/tarasis/tarasis.github.io/tree/main/FrontendMentor/newbie/stats-preview-card-component)
- Live Site URL: [Live Site](https://tarasis.github.io/FrontendMentor/newbie/stats-preview-card-component/index.html)
2021-08-11 10:36:35 +02:00
## My process
2021-08-11 10:36:35 +02:00
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.
2021-08-11 10:36:35 +02:00
### Built with
2021-08-11 10:36:35 +02:00
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
2021-08-11 10:36:35 +02:00
### What I learned
2021-08-11 10:36:35 +02:00
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.
2021-08-11 10:36:35 +02:00
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.
2021-08-11 10:36:35 +02:00
## Author
2021-08-11 10:36:35 +02:00
- Website - [Tarasis.net](https://tarasis.net)
- Frontend Mentor - [@tarasis](https://www.frontendmentor.io/profile/tarasis)
- Twitter - [@tarasis](https://www.twitter.com/tarasis)
2021-08-11 10:36:35 +02:00
## Acknowledgments
2021-08-11 10:36:35 +02:00
Matt at Frontend Mentor for coming up with the idea of challenges like this.