Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/haquanq/fm-product-preview-card-component
- Owner: haquanq
- License: mit
- Created: 2024-05-27T13:18:11.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T02:44:43.000Z (6 months ago)
- Last Synced: 2024-11-07T02:23:43.914Z (3 months ago)
- Topics: accessiblity, css, frontendmentor, frontendmentor-challenge, frontendmentor-solution, html
- Language: CSS
- Homepage: https://haquanq.github.io/fm-product-preview-card-component/
- Size: 4.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```