Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

catherineisonline/product-preview-card-frontendmentor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product preview card component

Solution for a challenge from frontendmentor.io.



About The Project

This HTML & CSS-only challenge will be perfect for anyone starting to build responsive projects. The challenge is to build out this product preview card component and get it looking as close to the design as possible. You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.



Users should be able to:

  1. View the optimal layout depending on their device's screen size.
  2. See hover and focus states for interactive elements.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Grid
  • Desktop-first workflow

What I learned

A very easy project to keep updated with the Frontend Mentor projects and remember the basics!

Useful resources

  1. Figma - Paste your design image to check the size of containers, width, etc.
  2. Perfect Pixel - Awesome Chrome extension that helps you to match the pixels of the provided design.

Acknowledgments

A big thank you to anyone providing feedback on my solution. It definitely helps to find new ways to code and find easier solutions!