Skip to content

frontendstu/product-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 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

Links

My process

Built with

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

What I learned

I managed to get this solution done in less than 300 lines of styles. I am very happy with the outcome and I am certain that the solution slider will match perfectly! As mentioned in the introduction I used vanilla CSS to mix it up a bit so I am showing that I can use it and I’m not reliant on Sass. It was a bit of back and fourth, but splitting the editor views into two columns helped with this, so using vanilla CSS in the future is not out of the question.

Author

About

My solution to the Frontend Mentor "Product Preview Card Component" challenge

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published