An interactive star rating component built using HTML, CSS, and JavaScript. Perfect for adding user rating functionality to web projects.
Check it out here: Live Demo
- Fully interactive – click to rate
- Responsive design – works on desktop and mobile
- Lightweight and easy to integrate
- Smooth hover and click effects
- HTML
- CSS
- JavaScript
- Clone this repository:
git clone https://github.com/yourusername/star-rating-component.git-
Open
index.htmlin your browser to see it in action. -
Integrate the
star-rating.jsand CSS into your own project as needed.
- Change the number of stars in
index.html - Adjust star colors or sizes in
style.css - Modify rating logic in
star-rating.js
Feel free to submit issues or pull requests to improve this project!
This project is licensed under the MIT License – see the LICENSE file for details.