A simple React application that collects user feedback and displays basic statistics in real time.
The app allows users to leave feedback in three categories:
π Good, π Neutral, and π Bad.
It then calculates and displays:
- Total feedback count
- Average score
- Percentage of positive feedback
This project was created to practice React fundamentals: components, props, useState, conditional rendering, and data calculation.
- React (Vite)
- JSX
- Functional Components
- useState Hook
π src/
βββ App.jsx
βββ components/
βββ Button.jsx
βββ Statistics.jsx
βββ StatisticLine.jsx
-
Clone the repo
git clone https://github.com/ant-tur/feedback-app.git -
Install dependencies
npm install -
Start the dev server
npm run dev -
Open in browser
http://localhost:5173
This project is open-source and free to use.