Skip to content

b-l-u-e/preview-card

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

The challenge was to build the card component using HTML and CSS.

Users will be able to:

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

Screenshot

  • Desktop view screenshot:

  • Mobile view screenshot:

Links

my-process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

Recap over some of my major learnings while working through this project.

  • Box-sizing
  • use of max-width and max-height
  • CSS Flexbox
  • use of media queries

Continued development

Areas that i want to continue focusing on in future projects.

  • CSS grid
  • Max-height and max width
  • Media queries
  • CSS Transform and animation properties
  • CSS Gradients
  • CSS Position

Useful resources

  • CSS Documentation - This helped me how to handle div containers and style them. I really liked this pattern and will use it going forward.
  • CSS Flexbox - This is an amazing article which helped me finally understand CSS Flexbox. I'd recommend it to anyone still learning this concept.

Author

Acknowledgments

I would like to give thanks to James Q Quick @jamesqquick for his youtube tutorials. I found inspiration in completing the challenge.

About

A simple preview-card feature built. Learning basic HTML and CSS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published