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.
Note: Delete this note and update the table of contents based on what sections you keep.
To recreate the example given using Figma as a design basis and applying responsive design elements such as flex-box and percentile sizing.
-
Solution URL: https://github.com/Anubliss-0/stats-preview-card-component-main
-
Live Site URL: https://anubliss-0.github.io/stats-preview-card-component-main/
I started by viewing the design on Figma, I started by designing for desktop first before running into problems and restarting the project. Second time around I designed for both desktop and mobile browsing at the same time.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
The justify-content and align-items properties are affected if the flow of flex box has been changed!