https://github.com/mochitto/stats-preview-card-component
A Frontend mentor challenge - Newbie
https://github.com/mochitto/stats-preview-card-component
Last synced: 3 months ago
JSON representation
A Frontend mentor challenge - Newbie
- Host: GitHub
- URL: https://github.com/mochitto/stats-preview-card-component
- Owner: Mochitto
- Created: 2022-10-23T17:55:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-24T21:21:45.000Z (over 3 years ago)
- Last Synced: 2025-03-22T19:46:24.591Z (over 1 year ago)
- Language: Sass
- Size: 584 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## [--- LIVE WEBSITE ---](https://mochitto.github.io/Stats-preview-card-component/)
## Table of contents
- [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)
## Overview
### The challenge
Users should be able to:
- View the optimal layout depending on their device's screen size
### Screenshot
Build:


Assignment:


### Links
- [Solution URL](https://www.frontendmentor.io/solutions/stats-preview-card-component-built-with-smacss-methodology-and-sass-LyvMHnoJ7y)
- [Live Site URL](https://mochitto.github.io/Stats-preview-card-component/)
## My process
This project was built with the idea of putting into practice what I learnt from the book on SMACSS' methodology, applied through SASS.
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- SASS
- SMACSS methodology
### What I learned
I learnt more on how to make certain choices regarding the separation of concerns between CSS classes and modules, as well as having a better insight on SASS' features.
### Continued development
The various parts of this component are still dependant too much on their siblings and children, so in the future I plan on focusing more on keeping the specificity as well as the depth of my selectors low.
### Useful resources
- [SMACSS](http://smacss.com/) - Free ebook on a methodology that still works to this day, even if it was written 10 years ago.