frontendstu / product-preview-card-component

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

Home Page:https://frontendstu.github.io/product-preview-card-component/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://frontendstu.github.io/product-preview-card-component/


Languages

Language:CSS 78.6%Language:HTML 21.4%