Getting ready

To get ready, let's grab the raw JS, available at https://raw.githubusercontent.com/antennaio/jquery-bar-rating/master/dist/jquery.barrating.min.js. Next, we will put GitCDN.xyz to work and obtain the https://gitcdn.xyz/repo/antennaio/jquery-bar-rating/master/dist/jquery.barrating.min.js link to use in our script tag.

Similarly, let's grab the raw CSS available at https://raw.githubusercontent.com/antennaio/jquery-bar-rating/master/dist/themes/fontawesome-stars.css. Now, let's process it via GitCDN.xyz, and copy the processed link, https://gitcdn.xyz/repo/antennaio/jquery-bar-rating/master/dist/themes/fontawesome-stars.css.

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.