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.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover and focus states for interactive elements
Desktop:
Mobile:
- Live site: https://michahuhn.github.io/frontendmentor-product-preview-card-component
- Challenge solution: https://www.frontendmentor.io/solutions/product-preview-card-component-using-vue-S_qXd85VNP
- Vue
- SCSS
- CSS custom properties
- Semantic HTML5 markup
- Flexbox
- CSS Grid
- Mobile-first workflow
I learned how to make the card responsive by switching between a column and row layout.
- Get your stylesheets more organized with Sass partials - YouTube - My SCSS folder structure is inspired by this video.