Skip to content

haquanq-frontendmentor/interactive-rating-component

Repository files navigation

Frontend Mentor - Interactive Rating Component Solution

This is a solution to the Interactive rating component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Solution post Live demo

Table of Contents

🌅 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

  • After select rating, user click onubmit button to show success card.

Accessibility

  • Responsive accross different devices
  • Interactive elements have clear indicator when focused

🌠 Tech Stack and Approach

Built with

  • HTML5 – Semantic structure
  • Vanilla CSS – Flex layout
  • BrowserSync - Easy development server

Approach

🍃 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

🍁 Deployment

Deployed to Github Pages via Github Action.