Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/haquanq/fm-product-preview-card-component

Solution for frontendmentor.io challenge: product-preview-card-component
https://github.com/haquanq/fm-product-preview-card-component

accessiblity css frontendmentor frontendmentor-challenge frontendmentor-solution html

Last synced: 29 days ago
JSON representation

Solution for frontendmentor.io challenge: 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.

### The challenge

- No access to design files, attempt pixel-perfect

Users should be able to:

- View the optimal layout depending on their device's screen size
- See hover and focus states for interactive elements

### Solution

- Built with: `HTML` & `CSS`
- Mobile-first workflow

![](./.docs/design/desktop-design.jpg)

## Working in `fm-product-preview-card-component` repository

### Clone this project to your machine

Make sure you have Git installed in your system, open new terminal, run the following command:

```
git clone https://github.com/haquanq/fm-product-preview-card-component.git
```

Then, run `npm install` to install all dependencies.

```
npm install
```

### Development workflow

In terminal, run `npm run dev` to start development server:

```
npm run dev
```