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

https://github.com/kutu-dev/product-preview-card-component

Product preview card component challenge from Frontend Mentor.
https://github.com/kutu-dev/product-preview-card-component

frontend-mentor frontend-mentor-challenge frontendmentor frontendmentor-challenge

Last synced: 4 months ago
JSON representation

Product preview card component challenge from Frontend Mentor.

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).

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

### Links

- Solution URL: [GitHub Repository](https://github.com/kutu-dev/product-preview-card-component)
- Live Site URL: [GitHub Pages](https://kutu-dev.github.io/product-preview-card-component/)

### Screenshot

#### Desktop
![](./assets/screenshots/desktop.png)
##### Hover
![](./assets/screenshots/desktop-hover.png)
##### Focus
![](./assets/screenshots/desktop-focus.png)

#### Mobile
![](./assets/screenshots/mobile.png)
##### Hover
![](./assets/screenshots/mobile-hover.png)
##### Focus
![](./assets/screenshots/mobile-focus.png)

## My process

### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- No Javacript

### What I learned

How to use flexbox for align content in boxes and change it from an 'adapt' status to a 'full' status using `width`.

### Continued development

Get more comfortable with the `@media at-rules`.

### Useful resources

- [ Mozilla Developer Network ](https://developer.mozilla.org/es/)

## Author

Created with :heart: by [Kutu](https://kutu-dev.github.io).

> - GitHub - [kutu-dev](https://github.com/kutu-dev)
> - Twitter - [@kutu_dev](https://twitter.com/kutu_dev)
> - Frontend Mentor - [@kutu-dev](https://www.frontendmentor.io/profile/kutu-dev)