jStars
jStars is a self-contained jQuery plugin for displaying star ratings. While there are many rating plugins available, most are heavy, complex, and require additional CSS/image files. The purpose of this plugin is to provide a simple, self-contained way to display star ratings on your website without all the extra baggage.
Getting Started
Add jstars.min.js
to your project. That's it!
Prerequisites
jQuery
(tested with 3.3.1)
Examples
Basic Usage
<div class="jstars" data-value="4.0"></div>
Advanced Usage
<div class="jstars" data-value="4.2" data-total-stars="7" data-color="#22D118" data-empty-color="black" data-size="30px"></div>
License
This project is licensed under the MIT License - see LICENSE file for details.