https://github.com/haquanq-frontendmentor/nft-preview-card-component
Solution for frontendmentor.io challenge: nft-preview-card-component
https://github.com/haquanq-frontendmentor/nft-preview-card-component
css frontendmentor frontendmentor-challenge frontendmentor-newbie frontendmentor-solution html
Last synced: 10 months ago
JSON representation
Solution for frontendmentor.io challenge: nft-preview-card-component
- Host: GitHub
- URL: https://github.com/haquanq-frontendmentor/nft-preview-card-component
- Owner: haquanq-frontendmentor
- License: mit
- Created: 2024-05-28T06:08:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-27T22:25:40.000Z (11 months ago)
- Last Synced: 2025-07-28T00:21:51.235Z (11 months ago)
- Topics: css, frontendmentor, frontendmentor-challenge, frontendmentor-newbie, frontendmentor-solution, html
- Language: CSS
- Homepage: https://haquanq-frontendmentor.github.io/nft-preview-card-component/
- Size: 219 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Frontend Mentor - NFT preview card component solution
This is a solution to the [NFT preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/nft-preview-card-component-SbdUL_w0U).
Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Project overview](#sunrise-project-overview)
- [Development workflow](#stars-development-workflow)
- [Working in this repository](#astronaut-working-in-this-repository)
## :sunrise: Project overview
### Challenge equirements
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
### Todo
Accessibility
- [x] Responsive accross different devices
- [x] Interactive elements have clear indicator when focused
### Preview

## :stars: Development workflow
### Approach
Site built with mobile-first workflow to prioritize mobile devices, made accessible using [ARIA Authoring Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg/).
### Tools
- **HTML + CSS:** vanilla CSS for styling.
- **Browsersync:** live development server (sync files changes).
### Deployment
- Deployed on github page using Github Actions (manually triggered).
## :astronaut: Working in this repository
### Presequisites
Having these tools installed:
- Git (prefer lastest LTS version)
- NodeJS (prefer latest LTS version)
### Clone this project to your machine
Open new terminal, run the following command:
```
git clone https://github.com/haquanq-frontendmentor/nft-preview-card-component.git
```
Then, run `npm install` to install all dependencies.
```
npm install
```
### Start development server
In terminal, run `npm run dev` to start development server:
```
npm run dev
```