{"id":1585,"date":"2019-06-08T17:44:49","date_gmt":"2019-06-08T17:44:49","guid":{"rendered":"https:\/\/webdevtrick.com\/?p=1585"},"modified":"2019-06-08T17:44:49","modified_gmt":"2019-06-08T17:44:49","slug":"css-star-rating","status":"publish","type":"post","link":"https:\/\/webdevtrick.com\/css-star-rating\/","title":{"rendered":"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating"},"content":{"rendered":"<p><strong>How we can create star rating design using HTML &amp; CSS? Solution: CSS Star Rating With Dynamic Text Using jQuery, HTML CSS 5 Star Rate.<\/strong><\/p>\n<p>I am sure that, you have seen the <strong>star rating<\/strong> system on many e-commerce websites. I know they are<span><a href=\"https:\/\/webdevtrick.com\/dynamic-banner-website-intro-source-code\/\" target=\"_blank\" rel=\"noopener noreferrer\"> dynamic<\/a><\/span>, but their design created in<strong> HTML CSS<\/strong> &amp; JavaScript or any JS library.\u00a0 First, designers created the rating <strong>UI<\/strong> and developer connect it to the database.<\/p>\n<p>Today I will show you how we can create star <strong>rating design using only HTML &amp; CSS<\/strong>. For creating this I used some <strong>CSS Unicode<\/strong> property, maybe you don&#8217;t know about that. This is an HTML radio input tag based design after some CSS <span><a href=\"https:\/\/webdevtrick.com\/css-custom-checkbox\/\" target=\"_blank\" rel=\"noopener noreferrer\">modification radio button<\/a><\/span> becomes a<strong> star<\/strong>.<\/p>\n<p>So, Today I am sharing <strong>CSS Star Rating with a dynamic text using jQuery<\/strong>. I used jQuery only to create a <span><a href=\"https:\/\/webdevtrick.com\/tag\/text\/\" target=\"_blank\" rel=\"noopener noreferrer\">text<\/a><\/span> below the rating for giving info which rating user gives. You can remove that text and<strong> jQuery<\/strong> if you don&#8217;t want the text or don&#8217;t want to depend on JS. You can call this pure <strong>HTML CSS 5 Star Rating<\/strong>.<\/p>\n<p>If you are thinking now how this design actually is, then see the<strong> preview<\/strong> given below.<\/p>\n<h3>Preview Of HTML CSS Rate<\/h3>\n<p>See this video preview to getting an idea of how this rating design looks like.<\/p>\n<div style=\"width: 640px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-1585-1\" width=\"640\" height=\"409\" loop autoplay preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/webdevtrick.com\/wp-content\/uploads\/5-star-rating-css.mp4?_=1\" \/><a href=\"https:\/\/webdevtrick.com\/wp-content\/uploads\/5-star-rating-css.mp4\">https:\/\/webdevtrick.com\/wp-content\/uploads\/5-star-rating-css.mp4<\/a><\/video><\/div>\n<p>Now you can see this visually. If you like this, then get the <strong>source code<\/strong> of its.<\/p>\n<p><span style=\"font-size: 14pt;\">You May Also Like:<\/span><\/p>\n<ul>\n \t<span><\/p>\n<li><a href=\"https:\/\/webdevtrick.com\/css-grid-menu\/\" target=\"_blank\" rel=\"noopener noreferrer\">CSS Grid Menu<\/a><\/li>\n<li><a href=\"https:\/\/webdevtrick.com\/responsive-css-flexbox\/\" target=\"_blank\" rel=\"noopener noreferrer\">Responsive CSS Flexbox<\/a><\/li>\n<li><a href=\"https:\/\/webdevtrick.com\/html-css-glitch-effect\/\" target=\"_blank\" rel=\"noopener noreferrer\">HTML CSS Glitch Effect<\/a><\/li>\n<li><a href=\"https:\/\/webdevtrick.com\/html-css-navigation-bar\/\" target=\"_blank\" rel=\"noopener noreferrer\">Navigation Bar With Hover Effect<\/a><\/li>\n<p><\/span>\n<\/ul>\n<h2>CSS Star Rating Source Code<\/h2>\n<p>Before <strong>sharing source code<\/strong>, let&#8217;s talk about the program. As you know this is a radio tag based design. I used CSS <code>unicode-bidi: bidi-override;<\/code> and <code>direction: rtl;<\/code> properties. The\u00a0<strong><code>unicode-bidi<\/code><\/strong>\u00a0CSS\u00a0property, together with the\u00a0<code>direction<\/code> property, determines how the bidirectional text in a document is handled (more <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/unicode-bidi\" target=\"_blank\" rel=\"noopener noreferrer\">info<\/a>).<\/p>\n<p>Using direction property I gave the direction on radio buttons left to right. &amp; for creating <strong>star icons<\/strong> I used <code>content:\"\\f006\"<\/code>,\u00a0 this is the code for <strong>creating star using Unicode icons<\/strong>. Also, I used the font-awesome font family. Lets other functions works using <code>:hover<\/code> &amp; <code>:before<\/code> properties. You will understand fully after seeing the codes.<\/p>\n<p>For creating this you have to create 3 files. First for <strong>HTML<\/strong>, second for <strong>CSS<\/strong>, &amp; third for <strong>JavaScript<\/strong>. You can skip <strong>jQuery<\/strong> or JS if you don&#8217;t want the text below the star rating. Follow the steps to creating this without any error.<\/p>\n<p><span style=\"font-size: 14pt;\">index.html<\/span><\/p>\n<p>Create an HTML file named &#8216;<strong><em>index.html<\/em><\/strong>&#8216; and put these codes given here below.<\/p>\n<pre class=\"lang:xhtml decode:true \" title=\"index.html\">&lt;!doctype html&gt;\r\n&lt;!-- code by webdevtrick ( https:\/\/webdevtrick.com ) --&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta charset=\"utf-8\"&gt;\r\n&lt;title&gt;CSS Star Rating | Webdevtrick.com&lt;\/title&gt;\r\n\t&lt;link href=\"https:\/\/stackpath.bootstrapcdn.com\/font-awesome\/4.7.0\/css\/font-awesome.min.css\" rel=\"stylesheet\"&gt;\r\n\t&lt;link href=\"style.css\" rel=\"stylesheet\"&gt;\r\n&lt;\/head&gt;\r\n\r\n&lt;body&gt;\r\n\t&lt;div class=\"main\"&gt;\r\n\t&lt;form id=\"rating-form\"&gt;\r\n&lt;span class=\"rating-star\"&gt;\r\n&lt;input type=\"radio\" name=\"rating\" value=\"5\"&gt;&lt;span class=\"star\"&gt;&lt;\/span&gt;\r\n\r\n    &lt;input type=\"radio\" name=\"rating\" value=\"4\"&gt;&lt;span class=\"star\"&gt;&lt;\/span&gt;\r\n\r\n    &lt;input type=\"radio\" name=\"rating\" value=\"3\"&gt;&lt;span class=\"star\"&gt;&lt;\/span&gt;\r\n\r\n    &lt;input type=\"radio\" name=\"rating\" value=\"2\"&gt;&lt;span class=\"star\"&gt;&lt;\/span&gt;\r\n\r\n    &lt;input type=\"radio\" name=\"rating\" value=\"1\"&gt;&lt;span class=\"star\"&gt;&lt;\/span&gt;\r\n&lt;\/span&gt;\r\n&lt;\/form&gt;\r\n    &lt;p&gt;Thanks For Giving &lt;span id=\"selected-rating\" class=\"selected-rating\" &gt;0&lt;\/span&gt; Stars.&lt;\/p&gt;\r\n\t&lt;\/div&gt;\t\r\n\t\r\n    &lt;script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/3.4.1\/jquery.min.js\"&gt;&lt;\/script&gt;    \r\n\t&lt;script src=\"function.js\" type=\"text\/javascript\"&gt;&lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p><span style=\"font-size: 14pt;\">style.css<\/span><\/p>\n<p>Now create a CSS file named &#8216;<strong><em>style.css<\/em><\/strong>&#8216; and put these codes.<\/p>\n<pre class=\"lang:css decode:true \" title=\"style.css\">\/** code by webdevtrick ( https:\/\/webdevtrick.com ) **\/\r\n.main {\r\n\tmargin-left: 40%;\r\n\tmargin-top: 15%;\r\n}\r\n.rating-star {\r\n    direction: rtl;\r\n    font-size: 40px;\r\n    unicode-bidi: bidi-override;\r\n    display: inline-block;\r\n}\r\n.rating-star input {\r\n    opacity: 0;\r\n    position: relative;\r\n    left: -30px;\r\n    z-index: 2;\r\n    cursor: pointer;\r\n}\r\n.rating-star span.star:before {\r\n    color: #777777;\r\n}\r\n.rating-star span.star {\r\n    display: inline-block;\r\n    font-family: FontAwesome;\r\n    font-style: normal;\r\n    font-weight: normal;\r\n    position: relative;\r\n    z-index: 1;\r\n}\r\n.rating-star span {\r\n    margin-left: -30px;\r\n}\r\n.rating-star span.star:before {\r\n    color: #777777;\r\n    content:\"\\f006\";\r\n}\r\n.rating-star input:hover + span.star:before, .rating-star input:hover + span.star ~ span.star:before, .rating-star input:checked + span.star:before, .rating-star input:checked + span.star ~ span.star:before {\r\n    color: #ffd100;\r\n    content:\"\\f005\";\r\n}\r\n\r\n.selected-rating{\r\n    color: #ffd100;\r\n    font-weight: bold;\r\n    font-size: 42px;\r\n}<\/pre>\n<p><span style=\"font-size: 14pt;\">function.js<\/span><\/p>\n<p>The final step, Create a JS file named &#8216;<strong><em>function.js<\/em><\/strong>&#8216; and put the codes.<\/p>\n<pre class=\"lang:js decode:true \" title=\"function.js\">\/** code by webdevtrick ( https:\/\/webdevtrick.com ) **\/\r\n$('#rating-form').on('change','[name=\"rating\"]',function(){\r\n\t$('#selected-rating').text($('[name=\"rating\"]:checked').val());\r\n});<\/pre>\n<p>That&#8217;s It. Now you have successfully created CSS Star Rating with dynamic text using jQuery. In other words, Pure HTML CSS 5 Star Design. If you have any doubt or question comment down below.<\/p>\n<p><span style=\"font-family: impact, sans-serif;\">Thanks For Visiting, Keep Visiting.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How we can create star rating design using HTML &amp; CSS? Solution: CSS Star Rating With Dynamic Text Using jQuery, HTML CSS 5 Star Rate. I am sure that, you have seen the star rating system on many e-commerce websites. I know they are dynamic, but their design created in HTML CSS &amp; JavaScript or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1586,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[43,42,46,22],"tags":[74,73,155,68,197,154,202,214],"class_list":["post-1585","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css","category-html","category-javascript","category-web-design","tag-css-animation","tag-css-hover-effect","tag-html-and-css","tag-html-source-code","tag-jquery","tag-pure-css","tag-radio-button","tag-rating"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating<\/title>\n<meta name=\"description\" content=\"Want to create a 5 star rating using HTML &amp; CSS? See this CSS Star Rating With Text Using jQuery. Get the source code now of Pure HTML CSS 5 Star Feedback.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webdevtrick.com\/css-star-rating\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating\" \/>\n<meta property=\"og:description\" content=\"Want to create a 5 star rating using HTML &amp; CSS? See this CSS Star Rating With Text Using jQuery. Get the source code now of Pure HTML CSS 5 Star Feedback.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webdevtrick.com\/css-star-rating\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Dev Trick\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webdevtrick\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-08T17:44:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"629\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"shaan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"shaan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/\"},\"author\":{\"name\":\"shaan\",\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/person\/c79bae83976f92fe305c22342b2a0be3\"},\"headline\":\"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating\",\"datePublished\":\"2019-06-08T17:44:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/\"},\"wordCount\":512,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\/\/webdevtrick.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg\",\"keywords\":[\"css animation\",\"css hover effect\",\"html and css\",\"html source code\",\"jquery\",\"pure css\",\"radio button\",\"rating\"],\"articleSection\":[\"CSS\",\"HTML\",\"JavaScript\",\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webdevtrick.com\/css-star-rating\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/\",\"url\":\"https:\/\/webdevtrick.com\/css-star-rating\/\",\"name\":\"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating\",\"isPartOf\":{\"@id\":\"https:\/\/webdevtrick.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg\",\"datePublished\":\"2019-06-08T17:44:49+00:00\",\"description\":\"Want to create a 5 star rating using HTML & CSS? See this CSS Star Rating With Text Using jQuery. Get the source code now of Pure HTML CSS 5 Star Feedback.\",\"breadcrumb\":{\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webdevtrick.com\/css-star-rating\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/#primaryimage\",\"url\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg\",\"contentUrl\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg\",\"width\":1200,\"height\":629,\"caption\":\"css star rating\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webdevtrick.com\/css-star-rating\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webdevtrick.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webdevtrick.com\/#website\",\"url\":\"https:\/\/webdevtrick.com\/\",\"name\":\"Web Dev Trick\",\"description\":\"HTML5, CSS3, JS, PHP Source Code &amp; Tutorial\",\"publisher\":{\"@id\":\"https:\/\/webdevtrick.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webdevtrick.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webdevtrick.com\/#organization\",\"name\":\"Web Dev Trick\",\"url\":\"https:\/\/webdevtrick.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/logo-fb-1.png\",\"contentUrl\":\"https:\/\/webdevtrick.com\/wp-content\/uploads\/logo-fb-1.png\",\"width\":512,\"height\":512,\"caption\":\"Web Dev Trick\"},\"image\":{\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webdevtrick\/\",\"https:\/\/pinterest.com\/webdevtrick\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/person\/c79bae83976f92fe305c22342b2a0be3\",\"name\":\"shaan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webdevtrick.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/60aa6ee93605bda7bc598d11dd748709a69bdb55a080124cc382114d8d7e7665?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/60aa6ee93605bda7bc598d11dd748709a69bdb55a080124cc382114d8d7e7665?s=96&d=mm&r=g\",\"caption\":\"shaan\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating","description":"Want to create a 5 star rating using HTML & CSS? See this CSS Star Rating With Text Using jQuery. Get the source code now of Pure HTML CSS 5 Star Feedback.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webdevtrick.com\/css-star-rating\/","og_locale":"en_US","og_type":"article","og_title":"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating","og_description":"Want to create a 5 star rating using HTML & CSS? See this CSS Star Rating With Text Using jQuery. Get the source code now of Pure HTML CSS 5 Star Feedback.","og_url":"https:\/\/webdevtrick.com\/css-star-rating\/","og_site_name":"Web Dev Trick","article_publisher":"https:\/\/www.facebook.com\/webdevtrick\/","article_published_time":"2019-06-08T17:44:49+00:00","og_image":[{"width":1200,"height":629,"url":"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg","type":"image\/jpeg"}],"author":"shaan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"shaan","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webdevtrick.com\/css-star-rating\/#article","isPartOf":{"@id":"https:\/\/webdevtrick.com\/css-star-rating\/"},"author":{"name":"shaan","@id":"https:\/\/webdevtrick.com\/#\/schema\/person\/c79bae83976f92fe305c22342b2a0be3"},"headline":"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating","datePublished":"2019-06-08T17:44:49+00:00","mainEntityOfPage":{"@id":"https:\/\/webdevtrick.com\/css-star-rating\/"},"wordCount":512,"commentCount":5,"publisher":{"@id":"https:\/\/webdevtrick.com\/#organization"},"image":{"@id":"https:\/\/webdevtrick.com\/css-star-rating\/#primaryimage"},"thumbnailUrl":"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg","keywords":["css animation","css hover effect","html and css","html source code","jquery","pure css","radio button","rating"],"articleSection":["CSS","HTML","JavaScript","Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webdevtrick.com\/css-star-rating\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webdevtrick.com\/css-star-rating\/","url":"https:\/\/webdevtrick.com\/css-star-rating\/","name":"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating","isPartOf":{"@id":"https:\/\/webdevtrick.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webdevtrick.com\/css-star-rating\/#primaryimage"},"image":{"@id":"https:\/\/webdevtrick.com\/css-star-rating\/#primaryimage"},"thumbnailUrl":"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg","datePublished":"2019-06-08T17:44:49+00:00","description":"Want to create a 5 star rating using HTML & CSS? See this CSS Star Rating With Text Using jQuery. Get the source code now of Pure HTML CSS 5 Star Feedback.","breadcrumb":{"@id":"https:\/\/webdevtrick.com\/css-star-rating\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webdevtrick.com\/css-star-rating\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webdevtrick.com\/css-star-rating\/#primaryimage","url":"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg","contentUrl":"https:\/\/webdevtrick.com\/wp-content\/uploads\/css-star-rating.jpg","width":1200,"height":629,"caption":"css star rating"},{"@type":"BreadcrumbList","@id":"https:\/\/webdevtrick.com\/css-star-rating\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webdevtrick.com\/"},{"@type":"ListItem","position":2,"name":"CSS Star Rating With jQuery | Pure HTML CSS 5 Star Rating"}]},{"@type":"WebSite","@id":"https:\/\/webdevtrick.com\/#website","url":"https:\/\/webdevtrick.com\/","name":"Web Dev Trick","description":"HTML5, CSS3, JS, PHP Source Code &amp; Tutorial","publisher":{"@id":"https:\/\/webdevtrick.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webdevtrick.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webdevtrick.com\/#organization","name":"Web Dev Trick","url":"https:\/\/webdevtrick.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webdevtrick.com\/#\/schema\/logo\/image\/","url":"https:\/\/webdevtrick.com\/wp-content\/uploads\/logo-fb-1.png","contentUrl":"https:\/\/webdevtrick.com\/wp-content\/uploads\/logo-fb-1.png","width":512,"height":512,"caption":"Web Dev Trick"},"image":{"@id":"https:\/\/webdevtrick.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webdevtrick\/","https:\/\/pinterest.com\/webdevtrick\/"]},{"@type":"Person","@id":"https:\/\/webdevtrick.com\/#\/schema\/person\/c79bae83976f92fe305c22342b2a0be3","name":"shaan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webdevtrick.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/60aa6ee93605bda7bc598d11dd748709a69bdb55a080124cc382114d8d7e7665?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/60aa6ee93605bda7bc598d11dd748709a69bdb55a080124cc382114d8d7e7665?s=96&d=mm&r=g","caption":"shaan"}}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/posts\/1585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/comments?post=1585"}],"version-history":[{"count":0,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/posts\/1585\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/media\/1586"}],"wp:attachment":[{"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/media?parent=1585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/categories?post=1585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webdevtrick.com\/wp-json\/wp\/v2\/tags?post=1585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}