Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zun-liang/fem-product-preview-card-component

Frontend Mentor Challenge Solution Product Preview Card Component
https://github.com/zun-liang/fem-product-preview-card-component

css html

Last synced: 9 days ago
JSON representation

Frontend Mentor Challenge Solution Product Preview Card Component

Awesome Lists containing this project

README

        

# Frontend Mentor - Product preview card component solution

This is a solution to the [Product preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/product-preview-card-component-GO7UmttRfa). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## Table of contents

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)

## 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

Desktop Screenshot: [Desktop Screenshot](./Screenshot_desktop.png)
Mobile Screenshot: [Mobile Screenshot](./Screenshot_mobile.png)

### Links

- Solution URL: [Frontend Mentor](https://www.frontendmentor.io/solutions/product-preview-card-component-using-html-and-css-EgXDojXf7h)
- Live Site URL: [Github Pages](https://zun-liang.github.io/fem-product-preview-card-component/)

## My process

### Built with

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

### What I learned

- picture tag
- source tag
- visual hidden elements

### Continued development

- pseudo-classes
- CSS Grid
- Git
- Github

### Useful resources

- [Kevin Powell Youtube Channel](https://www.youtube.com/@KevinPowell) - Kevin shared a lot of fantastic CSS tricks and his videos helped me review a lot of HTML and CSS skills.
- [Josh W. Comeau](https://www.joshwcomeau.com/) - Josh shared a wonderful custom CSS reset which helps me set up CSS efficiently.

## Author

- Website - [Zun Liang](https://zunldev.com/)
- GitHub - [@zun-liang](https://github.com/zun-liang)
- Frontend Mentor - [@zun-liang](https://www.frontendmentor.io/profile/zun-liang)
- freeCodeCamp - [@zun-liang](https://www.freecodecamp.org/zun-liang)