{"id":9158,"date":"2024-01-19T17:59:00","date_gmt":"2024-01-19T17:59:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9158"},"modified":"2024-01-22T15:59:40","modified_gmt":"2024-01-22T10:59:40","slug":"blog-comment-section-design","status":"publish","type":"post","link":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/","title":{"rendered":"Blog Comment Section Design"},"content":{"rendered":"<p>This HTML, CSS, and JavaScript code snippet helps you to design the comment section on your blog\/website.\u00a0 It comes with user avatars, names, timestamps, comments, and like buttons. Users can like comments, and the code handles updating like counts when a like button is clicked. It&#8217;s helpful for adding a user-friendly comment section to a website.<\/p>\n<h2>How to Create Blog Comment Section Design<\/h2>\n<p>1. First, create an HTML structure for your comment section. In the provided code, we have used a <code>main<\/code> element and a <code>section<\/code> with the class <code>comment-module<\/code> to contain our comments.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;main&gt;\r\n        &lt;section class=\"comment-module\"&gt;\r\n            &lt;ul&gt;\r\n                &lt;li&gt;\r\n                    &lt;div class=\"comment\"&gt;\r\n                        &lt;div class=\"comment-img\"&gt;\r\n                            &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/User Avatar.png\" alt=\"\"&gt;\r\n                        &lt;\/div&gt;\r\n                        &lt;div class=\"comment-content\"&gt;\r\n                            &lt;div class=\"comment-details\"&gt;\r\n                                &lt;h4 class=\"comment-name\"&gt;Adamsdavid&lt;\/h4&gt;\r\n                                &lt;span class=\"comment-log\"&gt;20 hours ago&lt;\/span&gt;\r\n                            &lt;\/div&gt;\r\n                            &lt;div class=\"comment-desc\"&gt;\r\n                                &lt;p&gt;I genuinely think that Codewell's community is AMAZING. It's just starting out but the templates on there amazing.&lt;\/p&gt;\r\n                            &lt;\/div&gt;\r\n                            &lt;div class=\"comment-data\"&gt;\r\n                                &lt;div class=\"comment-likes\"&gt;\r\n                                    &lt;div class=\"comment-likes-up\"&gt;\r\n                                        &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/Up.svg\" alt=\"\"&gt;\r\n                                        &lt;span&gt;2&lt;\/span&gt;\r\n                                    &lt;\/div&gt;\r\n                                    &lt;div class=\"comment-likes-down\"&gt;\r\n                                        &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/Down.svg\" alt=\"\"&gt;\r\n                                        &lt;span&gt;&lt;\/span&gt;\r\n                                    &lt;\/div&gt;\r\n                                &lt;\/div&gt;\r\n                                &lt;div class=\"comment-reply\"&gt;\r\n                                    &lt;a href=\"#!\"&gt;Reply&lt;\/a&gt;\r\n                                &lt;\/div&gt;\r\n                                &lt;div class=\"comment-report\"&gt;\r\n                                    &lt;a href=\"#!\"&gt;Report&lt;\/a&gt;\r\n                                &lt;\/div&gt;\r\n                            &lt;\/div&gt;\r\n                        &lt;\/div&gt;\r\n                    &lt;\/div&gt;\r\n                    &lt;ul&gt;\r\n                        &lt;li&gt;\r\n                            &lt;div class=\"comment\"&gt;\r\n                                &lt;div class=\"comment-img\"&gt;\r\n                                    &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/User Avatar-1.png\" alt=\"\"&gt;\r\n                                &lt;\/div&gt;\r\n                                &lt;div class=\"comment-content\"&gt;\r\n                                    &lt;div class=\"comment-details\"&gt;\r\n                                        &lt;h4 class=\"comment-name\"&gt;saramay&lt;\/h4&gt;\r\n                                        &lt;span class=\"comment-log\"&gt;16 hours ago&lt;\/span&gt;\r\n                                    &lt;\/div&gt;\r\n                                    &lt;div class=\"comment-desc\"&gt;\r\n                                        &lt;p&gt;I agree. I've been coding really well (pun intended) ever since I started practicing on their templates hehe.&lt;\/p&gt;\r\n                                    &lt;\/div&gt;\r\n                                    &lt;div class=\"comment-data\"&gt;\r\n                                        &lt;div class=\"comment-likes\"&gt;\r\n                                            &lt;div class=\"comment-likes-up\"&gt;\r\n                                                &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/Up.svg\" alt=\"\"&gt;\r\n                                                &lt;span&gt;5&lt;\/span&gt;\r\n                                            &lt;\/div&gt;\r\n                                            &lt;div class=\"comment-likes-down\"&gt;\r\n                                                &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/Down.svg\" alt=\"\"&gt;\r\n                                                &lt;span&gt;&lt;\/span&gt;\r\n                                            &lt;\/div&gt;\r\n                                        &lt;\/div&gt;\r\n                                        &lt;div class=\"comment-reply\"&gt;\r\n                                            &lt;a href=\"#!\"&gt;Reply&lt;\/a&gt;\r\n                                        &lt;\/div&gt;\r\n                                        &lt;div class=\"comment-report\"&gt;\r\n                                            &lt;a href=\"#!\"&gt;Report&lt;\/a&gt;\r\n                                        &lt;\/div&gt;\r\n                                    &lt;\/div&gt;\r\n                                &lt;\/div&gt;\r\n                            &lt;\/div&gt;\r\n                            &lt;ul&gt;\r\n                                &lt;li&gt;\r\n                                    &lt;div class=\"comment\"&gt;\r\n                                        &lt;div class=\"comment-img\"&gt;\r\n                                            &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/User Avatar-2.png\" alt=\"\"&gt;\r\n                                        &lt;\/div&gt;\r\n                                        &lt;div class=\"comment-content\"&gt;\r\n                                            &lt;div class=\"comment-details\"&gt;\r\n                                                &lt;h4 class=\"comment-name\"&gt;Jessica21&lt;\/h4&gt;\r\n                                                &lt;span class=\"comment-log\"&gt;14 hours ago&lt;\/span&gt;\r\n                                            &lt;\/div&gt;\r\n                                            &lt;div class=\"comment-desc\"&gt;\r\n                                                &lt;p&gt;Okay, this comment wins.&lt;\/p&gt;\r\n                                            &lt;\/div&gt;\r\n                                            &lt;div class=\"comment-data\"&gt;\r\n                                                &lt;div class=\"comment-likes\"&gt;\r\n                                                    &lt;div class=\"comment-likes-up\"&gt;\r\n                                                        &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/Up.svg\" alt=\"\"&gt;\r\n                                                        &lt;span&gt;5&lt;\/span&gt;\r\n                                                    &lt;\/div&gt;\r\n                                                    &lt;div class=\"comment-likes-down\"&gt;\r\n                                                        &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/Down.svg\" alt=\"\"&gt;\r\n                                                        &lt;span&gt;&lt;\/span&gt;\r\n                                                    &lt;\/div&gt;\r\n                                                &lt;\/div&gt;\r\n                                                &lt;div class=\"comment-reply\"&gt;\r\n                                                    &lt;a href=\"#!\"&gt;Reply&lt;\/a&gt;\r\n                                                &lt;\/div&gt;\r\n                                                &lt;div class=\"comment-report\"&gt;\r\n                                                    &lt;a href=\"#!\"&gt;Report&lt;\/a&gt;\r\n                                                &lt;\/div&gt;\r\n                                            &lt;\/div&gt;\r\n                                        &lt;\/div&gt;\r\n                                    &lt;\/div&gt;\r\n                                &lt;\/li&gt;\r\n                            &lt;\/ul&gt;\r\n                        &lt;\/li&gt;\r\n                    &lt;\/ul&gt;\r\n                &lt;\/li&gt;\r\n                &lt;li&gt;\r\n                    &lt;div class=\"comment\"&gt;\r\n                        &lt;div class=\"comment-img\"&gt;\r\n                            &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/User Avatar-3.png\" alt=\"\"&gt;\r\n                        &lt;\/div&gt;\r\n                        &lt;div class=\"comment-content\"&gt;\r\n                            &lt;div class=\"comment-details\"&gt;\r\n                                &lt;h4 class=\"comment-name\"&gt;andrew231&lt;\/h4&gt;\r\n                                &lt;span class=\"comment-log\"&gt;20 hours ago&lt;\/span&gt;\r\n                            &lt;\/div&gt;\r\n                            &lt;div class=\"comment-desc\"&gt;\r\n                                &lt;p&gt;Thanks for making this, super helpful&lt;\/p&gt;\r\n                            &lt;\/div&gt;\r\n                            &lt;div class=\"comment-data\"&gt;\r\n                                &lt;div class=\"comment-likes\"&gt;\r\n                                    &lt;div class=\"comment-likes-up\"&gt;\r\n                                        &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/Up.svg\" alt=\"\"&gt;\r\n                                        &lt;span&gt;2&lt;\/span&gt;\r\n                                    &lt;\/div&gt;\r\n                                    &lt;div class=\"comment-likes-down\"&gt;\r\n                                        &lt;img src=\"https:\/\/rvs-comment-module.vercel.app\/Assets\/Down.svg\" alt=\"\"&gt;\r\n                                        &lt;span&gt;&lt;\/span&gt;\r\n                                    &lt;\/div&gt;\r\n                                &lt;\/div&gt;\r\n                                &lt;div class=\"comment-reply\"&gt;\r\n                                    &lt;a href=\"#!\"&gt;Reply&lt;\/a&gt;\r\n                                &lt;\/div&gt;\r\n                                &lt;div class=\"comment-report\"&gt;\r\n                                    &lt;a href=\"#!\"&gt;Report&lt;\/a&gt;\r\n                                &lt;\/div&gt;\r\n                            &lt;\/div&gt;\r\n                        &lt;\/div&gt;\r\n                    &lt;\/div&gt;\r\n                &lt;\/li&gt;\r\n            &lt;\/ul&gt;\r\n        &lt;\/section&gt;\r\n    &lt;\/main&gt;<\/pre>\n<p>Inside the <code>section<\/code> element, you can add individual comments as list items (<code>&lt;li&gt;<\/code>) with user avatars, names, timestamps, comments, and like buttons.<\/p>\n<p>2. The CSS code is responsible for styling the comment section. It sets the overall layout, styles the avatars, and positions the various elements. It also makes the comment section responsive.<\/p>\n<p>You can include this CSS in a separate file or within a <code>&lt;style&gt;<\/code> block in your HTML file. Make sure to link to the required fonts from Google Fonts.<\/p>\n<pre class=\"prettyprint linenums lang-css\">@import url(\"https:\/\/fonts.googleapis.com\/css2?family=Rubik:wght@300;400;500;600;700;800&amp;display=swap\");\r\n* {\r\n  margin: 0;\r\n  padding: 0;\r\n  box-sizing: border-box;\r\n  font-family: \"Rubik\", sans-serif;\r\n}\r\n* ul {\r\n  list-style: none;\r\n}\r\n* a {\r\n  text-decoration: none;\r\n}\r\n\r\nbody{\r\n  background: #abd1c6;\r\n}\r\n\r\nmain {\r\n  width: 100%;\r\n  height: 100%;\r\n  display: grid;\r\n  place-items: center;\r\n}\r\nmain section.comment-module {\r\n  width: 50%;\r\n  height: auto;\r\n  background: #fff;\r\n  margin: 100px 0px;\r\n  border-radius: 5px;\r\n  padding: 50px 75px;\r\n}\r\nmain section.comment-module ul {\r\n  width: 100%;\r\n  height: 100%;\r\n  display: flex;\r\n  flex-direction: column;\r\n  align-items: flex-start;\r\n  row-gap: 50px;\r\n  margin-left: 0px;\r\n}\r\nmain section.comment-module ul li {\r\n  width: 100%;\r\n  position: relative;\r\n}\r\nmain section.comment-module ul li .comment {\r\n  width: 100%;\r\n  display: flex;\r\n  column-gap: 20px;\r\n}\r\nmain section.comment-module ul li .comment .comment-img {\r\n  width: 7%;\r\n}\r\nmain section.comment-module ul li .comment .comment-img img {\r\n  width: 50px;\r\n  height: 50px;\r\n}\r\nmain section.comment-module ul li .comment .comment-content {\r\n  width: 93%;\r\n  display: flex;\r\n  flex-direction: column;\r\n  row-gap: 12px;\r\n}\r\nmain section.comment-module ul li .comment .comment-content .comment-details {\r\n  width: 100%;\r\n  display: flex;\r\n  column-gap: 15px;\r\n  align-items: center;\r\n  justify-content: flex-start;\r\n}\r\nmain section.comment-module ul li .comment .comment-content .comment-details .comment-name {\r\n  text-transform: capitalize;\r\n}\r\nmain section.comment-module ul li .comment .comment-content .comment-details .comment-log {\r\n  color: #7a7a7a;\r\n  font-size: 14px;\r\n}\r\nmain section.comment-module ul li .comment .comment-content .comment-data {\r\n  width: 100%;\r\n  display: flex;\r\n  justify-content: flex-start;\r\n  align-items: center;\r\n  column-gap: 20px;\r\n}\r\nmain section.comment-module ul li .comment .comment-content .comment-data .comment-likes {\r\n  display: flex;\r\n  align-items: center;\r\n  column-gap: 12px;\r\n}\r\nmain section.comment-module ul li .comment .comment-content .comment-data .comment-likes &gt; div {\r\n  display: flex;\r\n  column-gap: 4px;\r\n  align-items: center;\r\n}\r\nmain section.comment-module ul li .comment .comment-content .comment-data .comment-likes &gt; div img {\r\n  cursor: pointer;\r\n}\r\nmain section.comment-module ul li .comment .comment-content .comment-data .comment-likes &gt; div span {\r\n  font-weight: 600;\r\n}\r\nmain section.comment-module ul li .comment .comment-content .comment-data .comment-reply a, main section.comment-module ul li .comment .comment-content .comment-data .comment-report a {\r\n  color: #272727;\r\n  font-weight: 400;\r\n}\r\nmain section.comment-module ul li::before {\r\n  content: \"\";\r\n  position: absolute;\r\n  top: 60px;\r\n  left: 50px;\r\n  transform: translateX(-25px);\r\n  width: 2px;\r\n  height: calc(100% - 60px);\r\n  background: #c5c5c5;\r\n}\r\nmain section.comment-module ul li ul {\r\n  margin-top: 35px;\r\n  margin-left: 70px;\r\n  width: calc(100% - 70px);\r\n}\r\n\r\n@media screen and (max-width: 1600px) {\r\n  main section.comment-module {\r\n    width: 60%;\r\n  }\r\n}\r\n@media screen and (max-width: 1400px) {\r\n  main section.comment-module {\r\n    width: 70%;\r\n  }\r\n  main section.comment-module ul li .comment .comment-img {\r\n    width: 10%;\r\n  }\r\n  main section.comment-module ul li .comment .comment-content {\r\n    width: 90%;\r\n  }\r\n}\r\n@media screen and (max-width: 1024px) {\r\n  main section.comment-module {\r\n    width: 80%;\r\n  }\r\n}\r\n@media screen and (max-width: 768px) {\r\n  main section.comment-module {\r\n    width: 96%;\r\n    padding: 75px 10px;\r\n  }\r\n  main section.comment-module ul li .comment {\r\n    column-gap: 12px;\r\n  }\r\n  main section.comment-module ul li .comment .comment-img {\r\n    width: 15%;\r\n  }\r\n  main section.comment-module ul li .comment .comment-img img {\r\n    width: 40px;\r\n    height: 40px;\r\n  }\r\n  main section.comment-module ul li .comment .comment-content {\r\n    width: 85%;\r\n  }\r\n  main section.comment-module ul li .comment .comment-content .comment-details {\r\n    flex-direction: column;\r\n    align-items: flex-start;\r\n  }\r\n  main section.comment-module ul li .comment .comment-content .comment-data {\r\n    column-gap: 12px;\r\n  }\r\n  main section.comment-module ul li::before {\r\n    top: 50px;\r\n    left: 50px;\r\n    transform: translateX(-30px);\r\n    height: calc(100% - 60px);\r\n  }\r\n  main section.comment-module ul li ul {\r\n    margin-top: 25px;\r\n    margin-left: 50px;\r\n    width: calc(100% - 50px);\r\n  }\r\n}<\/pre>\n<p>3. The JavaScript code handles the like functionality for each comment. It collects all the like buttons and adds event listeners to them. When a like button is clicked, it updates the like count for that comment.<\/p>\n<pre class=\"prettyprint linenums lang-js\">let likesUpParent = document.getElementsByClassName(\"comment-likes-up\");\r\nlet likesDownParent = document.getElementsByClassName(\"comment-likes-down\");\r\n\r\nlet likesEl = [];\r\nfor(let i = 0; i&lt;likesUpParent.length; i++) {\r\n    let likesUp = likesUpParent[i].getElementsByTagName(\"img\")[0];\r\n    let likesDown = likesDownParent[i].getElementsByTagName(\"img\")[0];\r\n\r\n    likesEl.push(likesUp, likesDown);\r\n}\r\n\r\nlikesEl.forEach(el =&gt; {\r\n    el.addEventListener(\"click\", function() {\r\n        let likesClosestCountEl = this.parentElement.getElementsByTagName(\"span\")[0];\r\n        let likesCount = likesClosestCountEl.innerText;\r\n\r\n        if(likesCount.trim().length === 0) {\r\n            let likesCount = 0;\r\n        }\r\n\r\n        likesClosestCountEl.innerText = +likesCount + +1;\r\n\r\n    })\r\n})<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created a comment section design on your blog\/website. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This HTML, CSS, and JavaScript code snippet helps you to design the comment section on your blog\/website.\u00a0 It comes with&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9168,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[],"class_list":["post-9158","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5-css3"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Blog Comment Section Design &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Blog Comment Section Design. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Blog Comment Section Design &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Blog Comment Section Design. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-19T17:59:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:59:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Blog Comment Section Design\",\"datePublished\":\"2024-01-19T17:59:00+00:00\",\"dateModified\":\"2024-01-22T10:59:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/\"},\"wordCount\":238,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png\",\"articleSection\":[\"HTML5 &amp; CSS3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/\",\"url\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/\",\"name\":\"Blog Comment Section Design &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png\",\"datePublished\":\"2024-01-19T17:59:00+00:00\",\"dateModified\":\"2024-01-22T10:59:40+00:00\",\"description\":\"Here is a free code snippet to create a Blog Comment Section Design. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png\",\"width\":1280,\"height\":960,\"caption\":\"Blog Comment Section Design\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML5 &amp; CSS3\",\"item\":\"https:\/\/codehim.com\/category\/html5-css3\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Blog Comment Section Design\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Blog Comment Section Design &#8212; CodeHim","description":"Here is a free code snippet to create a Blog Comment Section Design. You can view demo and download the source code.","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:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/","og_locale":"en_US","og_type":"article","og_title":"Blog Comment Section Design &#8212; CodeHim","og_description":"Here is a free code snippet to create a Blog Comment Section Design. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-19T17:59:00+00:00","article_modified_time":"2024-01-22T10:59:40+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Blog Comment Section Design","datePublished":"2024-01-19T17:59:00+00:00","dateModified":"2024-01-22T10:59:40+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/"},"wordCount":238,"commentCount":1,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png","articleSection":["HTML5 &amp; CSS3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/","url":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/","name":"Blog Comment Section Design &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png","datePublished":"2024-01-19T17:59:00+00:00","dateModified":"2024-01-22T10:59:40+00:00","description":"Here is a free code snippet to create a Blog Comment Section Design. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Blog-Comment-Section-Design.png","width":1280,"height":960,"caption":"Blog Comment Section Design"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"HTML5 &amp; CSS3","item":"https:\/\/codehim.com\/category\/html5-css3\/"},{"@type":"ListItem","position":3,"name":"Blog Comment Section Design"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":7359,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=9158"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9158\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9168"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}