@@ -114,21 +114,21 @@ Step 1: Load the following assets in your header.
114114
115115``` html
116116<!-- default styles -->
117- <link href =" http ://netdna .bootstrapcdn.com/bootstrap/3 .3.6/css /bootstrap.css " rel =" stylesheet" >
118- <link href =" path/to/ css/star-rating.css" media =" all" rel =" stylesheet" type =" text/css" />
117+ <link href =" https ://maxcdn .bootstrapcdn.com/bootstrap/4 .3.1/js /bootstrap.min.js " rel =" stylesheet" >
118+ <link href =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-star-rating/4.0.6/ css/star-rating.min .css" media =" all" rel =" stylesheet" type =" text/css" />
119119
120120<!-- optionally if you need to use a theme, then include the theme CSS file as mentioned below -->
121- <link href =" path/to /themes/krajee-svg/theme.css" media =" all" rel =" stylesheet" type =" text/css" />
121+ <link href =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-star-rating/4.0.6 /themes/krajee-svg/theme.css" media =" all" rel =" stylesheet" type =" text/css" />
122122
123123<!-- important mandatory libraries -->
124- <script src =" //ajax.googleapis .com/ajax/libs/ jquery/2.1.0/jquery .js" ></script >
125- <script src =" path/to/ js/star-rating.js" type =" text/javascript" ></script >
124+ <script src =" https://code.jquery .com/jquery-3.3.1.min .js" ></script >
125+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-star-rating/4.0.6/ js/star-rating.min .js" type =" text/javascript" ></script >
126126
127127<!-- optionally if you need to use a theme, then include the theme JS file as mentioned below -->
128- <script src =" path/to /themes/krajee-svg/theme.js" ></script >
128+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-star-rating/4.0.6 /themes/krajee-svg/theme.js" ></script >
129129
130130<!-- optionally if you need translation for your language then include locale file as mentioned below -->
131- <script src =" path/to /js/locales/<lang>.js" ></script >
131+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-star-rating/4.0.6 /js/locales/<lang>.js" ></script >
132132```
133133
134134If you noticed, you need to load the ` jquery.min.js ` and ` bootstrap.min.css ` in addition to the ` star-rating.min.css ` and ` star-rating.min.js ` for
0 commit comments