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

Mobile Solution Desktop Solution

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid

What I learned

I utilized this project to practice more CSS skills, and utilize CSS variables. I am currently focusing on creating responsive components rather than relying on Bootstrap, etc.

Continued development

I want to continue building more complex projects and utilizing these skills to increase the complexity of projects I can complete.

Useful resources

Author