https://github.com/haquanq-frontendmentor/interactive-rating-component
Solution for frontendmentor.io challenge: interactive-rating-component
https://github.com/haquanq-frontendmentor/interactive-rating-component
css frontendmentor frontendmentor-challenge frontendmentor-newbie frontendmentor-solution html javascript
Last synced: about 1 month ago
JSON representation
Solution for frontendmentor.io challenge: interactive-rating-component
- Host: GitHub
- URL: https://github.com/haquanq-frontendmentor/interactive-rating-component
- Owner: haquanq-frontendmentor
- License: mit
- Created: 2024-05-30T08:18:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-27T22:08:31.000Z (11 months ago)
- Last Synced: 2025-07-28T00:14:29.398Z (11 months ago)
- Topics: css, frontendmentor, frontendmentor-challenge, frontendmentor-newbie, frontendmentor-solution, html, javascript
- Language: CSS
- Homepage: https://haquanq-frontendmentor.github.io/interactive-rating-component/
- Size: 232 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 - Interactive Rating Component Solution
This is a solution to the [Interactive rating component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/interactive-rating-component-koxpeBUmI).
Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## Table of Contents
- [Project Overview](#sunrise-project-overview)
- [Tech Stack and Approach](#stars-tech-stack-and-approach)
- [Local Development](#leaves-local-development)
- [Deployment](#maple_leaf-deployment)
## :sunrise: Project Overview
### Challenge Requirements
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Select and submit a number rating
- See the "Thank you" card state after submitting a rating
### Status
Features
- [x] After select rating, user click onubmit button to show success card.
Accessibility
- [x] Responsive accross different devices
- [x] Interactive elements have clear indicator when focused
## :stars: Tech Stack and Approach
### Built with
- **HTML5** – Semantic structure
- **Vanilla CSS** – Flex layout
- **BrowserSync** - Easy development server
### Approach
- Mobile-first workflow for better performance on smaller devices
- Accessibility guided by [ARIA Authoring Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg/).
## :leaves: Local Development
### Prerequisites
Install the following:
- Git (latest version)
- Node.js (latest LTS recommended)
- pnpm (latest version)
### Setup
```
git clone https://github.com/haquanq-frontendmentor/interactive-rating-component.git
cd interactive-rating-component
pnpm install
```
### Start Development Server
```
pnpm dev
```
## :maple_leaf: Deployment
Deployed to Github Pages via Github Action.