An open API service indexing awesome lists of open source software.

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

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:
![](./docs/desktop.png)
![](./docs/mobile.png)

Assignment:
![](./design/desktop-design.jpg)
![](./design/mobile-design.jpg)

### 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.