Skip to content

jonatasbaldan/Product-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Product preview card component solution

This is a solution to the Product 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
  • See hover and focus states for interactive elements

Screenshot

MOCKUP Computador e celular psd criado por rawpixel.com - br.freepik.com

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • B.E.M Methodology
  • Namespaces CSS

What I learned

This was a great start to understand, in a simple way, how to structure the classes to work like components, making it easier to modify and, more important, understand what is going on just reading the code.

Continued development

Even this was a simple challenge, I find some little difficulties to name some classes, so that is something i will continue to study, specially in other's project, to get a pattern in what is the best names for each thing.

Useful resources

  • B.E.M Methodology - BEM Documentation that helped me to understand how this methodology works.
  • Namespaces CSS - An amazing article about namespaces in css and how to use with BEM Methodology.

Author

About

Frontend Mentor challenge Product preview card component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published