Skip to content

akaigyouhou/frontend-mentor-stats-preview-card-component-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Stats preview card component solution

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.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout depending on their device's screen size

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • React - JS library

Continued development

  • I find the filter color is a little weird. I don't know whether the color given is wrong or I need to do some adjustment on the color.
  • I use mobile-first workflow. I find the workflow a bit weird when I want to put the item on the right position. At last I just set the width and height of the "card".
  • I use react to listen resize of the window to change the layout of mobile to that of desktop. I wonder whether there are better method.

Author