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.
Users should be able to:
- View the optimal layout depending on their device's screen size
- Solution URL: https://www.frontendmentor.io/solutions/using-react-with-vanilla-css-4MVFxmxCtn
- Live Site URL: https://akaigyouhou.github.io/frontend-mentor-stats-preview-card-component-main/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- React - JS library
- 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.
- Frontend Mentor - @akaigyouhou
- Twitter - @akaigyouhou