2022-09-07 14:53:51 +02:00
# Frontend Mentor - 3-column preview card component solution
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
This is a solution to the [3-column preview card component challenge on Frontend Mentor ](https://www.frontendmentor.io/challenges/3column-preview-card-component-pH92eAR2- ). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
## Table of contents
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
- [Frontend Mentor - 3-column preview card component solution ](#frontend-mentor---3-column-preview-card-component-solution )
- [Table of contents ](#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 )
- [Author ](#author )
- [Acknowledgments ](#acknowledgments )
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
**Note: Delete this note and update the table of contents based on what sections you keep.**
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
## Overview
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
### The challenge
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
Users should be able to:
2022-09-07 11:53:05 +02:00
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
2022-09-07 14:53:51 +02:00
### Screenshot
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
Here are the final images for the desktop version
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
![Desktop ](./screenshots/desktop.png )
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
and for the mobile version
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
![Mobile ](./screenshots/mobile.png )
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
### Links
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
- Solution URL: [Gitea on rmcg.dev ](https://git.tarasis.net/tarasis/rmcg.dev/src/branch/main/projects/FrontendMentor/newbie/3-column-preview-card-component )
- Live Site URL: [rmcg.dev ](https://rmcg.dev/FrontendMentor/newbie/3-column-preview-card-component )
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
## My process
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
### Built with
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
### What I learned
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
I was rusty as I hadn't touched html/css/javascript in 7 months. Solution came together fairly quickly.
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
As usual I focused on mobile first, and then added some minor tweaks for desktop. (Specifically the "Learn More" button is lower on the desktop version)
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
I spent a little time chasing box widths, mainly it was paragraph width. Honestly I should have simply stayed with the `25ch` used for the mobile version rather than having `23.15ch` for the desktop.
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
### Continued development
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
Continue working through the `newbie` projects that I have, with an eye to trying to use `grid` rather than `flexbox` .
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
## Author
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
- Website - [Blog ](https://tarasis.net )
- Website - [Portfolio ](https://rmcg.dev )
- Frontend Mentor - [@tarasis ](https://www.frontendmentor.io/profile/tarasis )
- Twitter - [@tarasis ](https://www.twitter.com/tarasis )
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
## Acknowledgments
2022-09-07 11:53:05 +02:00
2022-09-07 14:53:51 +02:00
Just Matt front [Frontend Mentor ](https://www.frontendmentor.io ) for creating the site. These challenges have been an effective way of learning.