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

Note: Delete this note and update the table of contents based on what sections you keep.

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

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Media queries
  • Mobile-first workflow

Useful resources

  • w3schools.com - This helped me for documenting about CSS and HTML.
  • CSS Reset - This helped me with reseting the CSS inconsistency on all browsers.
  • BEM - This helped me understand the BEM pattern better.

Author