Skip to content

The Product Preview Card Component is a front-end project designed to showcase a sleek, responsive product card. This component is part of a challenge from Frontend Mentor, aimed at enhancing web development skills by building realistic, interactive UI components.

License

Notifications You must be signed in to change notification settings

Yashi-Singh-9/Product-Preview-Card-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Product Preview Card Component Solution

Frontend Mentor HTML5 CSS3 Flexbox GitHub last commit Netlify Status

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

Product Preview Card Component Desktop Preview

Product Preview Card Component Mobile Preview

Links

My Process

Built With

  • HTML5 Semantic HTML5 markup
  • CSS3 CSS custom properties
  • Flexbox Flexbox
  • Mobile-first workflow
  • Google Fonts Montserrat - Font used for headings and buttons
  • Google Fonts Fraunces - Font used for product name and price

What I Learned

Working on this project, I enhanced my skills in:

  • Flexbox Using CSS Flexbox to create a responsive layout that adjusts to different screen sizes.
  • Managing font styles and incorporating custom fonts into a project.
  • Ensuring accessibility by adding meaningful aria-labels to interactive elements.

Continued Development

In future projects, I plan to focus on:

  • Improving my knowledge of advanced CSS techniques, such as animations and transitions.
  • Exploring more about responsive design and media queries to handle various screen sizes and orientations.
  • Enhancing my JavaScript skills to add interactivity and dynamic behavior to my components.

Useful Resources

Style Guide

For style guidelines, check out my Style Guide.

Author

Acknowledgments

Thank you to the Frontend Mentor community for the challenge and the inspiration. Special thanks to @frontendmentor @frontendmentor for creating such valuable resources to improve web development skills.

About

The Product Preview Card Component is a front-end project designed to showcase a sleek, responsive product card. This component is part of a challenge from Frontend Mentor, aimed at enhancing web development skills by building realistic, interactive UI components.

Topics

Resources

License

Stars

Watchers

Forks