Skip to content

Stats preview card component

A simple component to display different stats on the page.

Stats preview card component

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.

Since this is a relatively straight-forward component, I built it using plain HTML and CSS. I used CSS Grid for the layout and CSS custom properties for color information.

The challenge comes courtesy of, which I regularly use to sharpen my skills and play around with new technologies.