{"id":9699,"date":"2024-01-10T18:06:00","date_gmt":"2024-01-10T18:06:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9699"},"modified":"2024-01-22T16:07:11","modified_gmt":"2024-01-22T11:07:11","slug":"html-code-for-discussion-forum","status":"publish","type":"post","link":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/","title":{"rendered":"HTML Code For Discussion Forum"},"content":{"rendered":"<p data-sourcepos=\"3:1-3:320\">This code provides a basic HTML and CSS structure for a discussion forum. It includes a header, post list, and <a href=\"https:\/\/codehim.com\/html5-css3\/blog-comment-section-design\/\" target=\"_blank\" rel=\"noopener\">comment form<\/a>. The CSS code styles the forum with a modern, responsive design. The JavaScript code adds some interactivity, such as the ability to toggle the visibility of the <a href=\"https:\/\/codehim.com\/menu\/hamburger-dropdown-menu-with-bootstrap-and-jquery\/\" target=\"_blank\" rel=\"noopener\">header dropdown<\/a> and post comments.<\/p>\n<p data-sourcepos=\"5:1-5:176\">This code can be used as a starting point for building a more complex discussion forum. For example, you could add features such as user authentication, voting, and moderation.<\/p>\n<h2>How to Create a Discussion Forum in HTML<\/h2>\n<p>1. First of all, load the <a href=\"https:\/\/fontawesome.com\/\" target=\"_blank\" rel=\"noopener\">Font Awesome CSS<\/a> (for icons) and <a href=\"https:\/\/jquery.com\" target=\"_blank\" rel=\"noopener\">jQuery<\/a> by adding the following CDN links into the head tag of your HTML document.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;link rel='stylesheet' href='https:\/\/maxcdn.bootstrapcdn.com\/font-awesome\/4.2.0\/css\/font-awesome.min.css'&gt;\r\n&lt;script src='\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/2.1.3\/jquery.min.js'&gt;&lt;\/script&gt;<\/pre>\n<p>2. Create the HTML structure for the forum as follows:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"container\"&gt;\r\n  &lt;div class=\"response-group\"&gt;\r\n    &lt;header&gt;\r\n      &lt;h2&gt;\r\n        &lt;strong&gt;Lesson Title&lt;\/strong&gt;&lt;i class=\"fa fa-angle-right\"&gt;&lt;\/i&gt;&lt;span class=\"header-dropdown-trigger\"&gt;Activity Title&lt;\/span&gt;\r\n      &lt;\/h2&gt;\r\n    &lt;\/header&gt;\r\n    &lt;div class=\"header-dropdown\"&gt;\r\n      &lt;div class=\"panel\"&gt;\r\n        &lt;ul&gt;\r\n          &lt;li&gt;\r\n            &lt;h2&gt;\r\n              Activity Title\r\n            &lt;\/h2&gt;\r\n            &lt;span&gt;2\/4&lt;\/span&gt;\r\n            &lt;div class=\"progress\"&gt;\r\n              &lt;div class=\"progress__complete\"&gt;&lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n          &lt;\/li&gt;\r\n          &lt;li&gt;\r\n            &lt;h2&gt;\r\n              Activity Title\r\n            &lt;\/h2&gt;\r\n            &lt;span&gt;2\/4&lt;\/span&gt;\r\n            &lt;div class=\"progress\"&gt;\r\n              &lt;div class=\"progress__complete\"&gt;&lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n          &lt;\/li&gt;\r\n          &lt;li&gt;\r\n            &lt;h2&gt;\r\n              Activity Title\r\n            &lt;\/h2&gt;\r\n            &lt;span&gt;2\/4&lt;\/span&gt;\r\n            &lt;div class=\"progress\"&gt;\r\n              &lt;div class=\"progress__complete\"&gt;&lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n          &lt;\/li&gt;\r\n          &lt;li&gt;\r\n            &lt;h2&gt;\r\n              Activity Title\r\n            &lt;\/h2&gt;\r\n            &lt;span&gt;2\/4&lt;\/span&gt;\r\n            &lt;div class=\"progress\"&gt;\r\n              &lt;div class=\"progress__complete\"&gt;&lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n          &lt;\/li&gt;\r\n        &lt;\/ul&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"response\"&gt;\r\n      &lt;div class=\"response__number\"&gt;\r\n        1\r\n      &lt;\/div&gt;\r\n      &lt;h1 class=\"response__title\"&gt;\r\n        Coffee emporium avondale humid german rivertown vine street findlay market historic architecture?\r\n      &lt;\/h1&gt;\r\n      &lt;div class=\"post-group\"&gt;\r\n        &lt;div class=\"post\"&gt;\r\n          &lt;div class=\"post__avatar\"&gt;&lt;\/div&gt;\r\n          &lt;h3 class=\"post__author\"&gt;\r\n            Lester McTester\r\n          &lt;\/h3&gt;\r\n          &lt;h4 class=\"post__timestamp\"&gt;\r\n            Oct 13 at 8:51pm \r\n          &lt;\/h4&gt;\r\n          &lt;p class=\"post__body\"&gt;\r\n            Hamilton county river front museum center washington park breweries walnut hills findlay market christian moerlein flying pig ohio valley jazz festival union terminal fifty west coffee emporium chili.\r\n          &lt;\/p&gt;\r\n          &lt;div class=\"post__actions\"&gt;\r\n            &lt;div class=\"button button--approve\"&gt;\r\n              &lt;i class=\"fa fa-thumbs-o-up\"&gt;&lt;\/i&gt;&lt;i class=\"fa fa-thumbs-up solid\"&gt;&lt;\/i&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"button button--deny\"&gt;\r\n              &lt;i class=\"fa fa-thumbs-o-down\"&gt;&lt;\/i&gt;&lt;i class=\"fa fa-thumbs-down solid\"&gt;&lt;\/i&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"button button--fill comment-trigger\"&gt;\r\n              &lt;span&gt;Comment...&lt;\/span&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"button button--flag\"&gt;\r\n              &lt;i class=\"fa fa-comment-o\"&gt;&lt;\/i&gt;&lt;i class=\"fa fa-comment solid\"&gt;&lt;\/i&gt;2\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"post__comments\"&gt;\r\n              &lt;div class=\"comment-group\"&gt;\r\n                &lt;div class=\"post\"&gt;\r\n                  &lt;div class=\"post__avatar comment__avatar\"&gt;&lt;\/div&gt;\r\n                  &lt;h3 class=\"post__author\"&gt;\r\n                    Lester McTester\r\n                  &lt;\/h3&gt;\r\n                  &lt;h4 class=\"post__timestamp\"&gt;\r\n                    Oct 13 at 8:51pm \r\n                  &lt;\/h4&gt;\r\n                  &lt;p class=\"post__body\"&gt;\r\n                    Hamilton county river front museum center washington park breweries walnut hills findlay market christian moerlein flying pig ohio valley jazz festival union terminal fifty west coffee emporium chili.\r\n                  &lt;\/p&gt;\r\n                &lt;\/div&gt;\r\n                &lt;div class=\"post\"&gt;\r\n                  &lt;div class=\"post__avatar comment__avatar\"&gt;&lt;\/div&gt;\r\n                  &lt;h3 class=\"post__author\"&gt;\r\n                    Lester McTester\r\n                  &lt;\/h3&gt;\r\n                  &lt;h4 class=\"post__timestamp\"&gt;\r\n                    Oct 13 at 8:51pm \r\n                  &lt;\/h4&gt;\r\n                  &lt;p class=\"post__body\"&gt;\r\n                    Hamilton county river front museum center washington park breweries walnut hills findlay market christian moerlein flying pig ohio valley jazz festival union terminal fifty west coffee emporium chili.\r\n                  &lt;\/p&gt;\r\n                &lt;\/div&gt;\r\n              &lt;\/div&gt;\r\n              &lt;div class=\"comment-form\"&gt;\r\n                &lt;div class=\"comment-form__avatar\"&gt;&lt;\/div&gt;\r\n                &lt;textarea&gt;&lt;\/textarea&gt;\r\n                &lt;div class=\"comment-form__actions\"&gt;\r\n                  &lt;div class=\"button button--light cancel\"&gt;\r\n                    Cancel\r\n                  &lt;\/div&gt;\r\n                  &lt;div class=\"button button--confirm\"&gt;\r\n                    Comment\r\n                  &lt;\/div&gt;\r\n                &lt;\/div&gt;\r\n              &lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n          &lt;\/div&gt;\r\n        &lt;\/div&gt;\r\n        &lt;div class=\"post\"&gt;\r\n          &lt;div class=\"post__avatar\"&gt;&lt;\/div&gt;\r\n          &lt;h3 class=\"post__author\"&gt;\r\n            Lester McTester\r\n          &lt;\/h3&gt;\r\n          &lt;h4 class=\"post__timestamp\"&gt;\r\n            Oct 13 at 8:51pm \r\n          &lt;\/h4&gt;\r\n          &lt;p class=\"post__body\"&gt;\r\n            Hamilton county river front museum center washington park breweries walnut hills findlay market christian moerlein flying pig ohio valley jazz festival union terminal fifty west coffee emporium chili.\r\n          &lt;\/p&gt;\r\n          &lt;div class=\"post__actions\"&gt;\r\n            &lt;div class=\"button button--approve\"&gt;\r\n              &lt;i class=\"fa fa-thumbs-o-up\"&gt;&lt;\/i&gt;&lt;i class=\"fa fa-thumbs-up solid\"&gt;&lt;\/i&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"button button--deny\"&gt;\r\n              &lt;i class=\"fa fa-thumbs-o-down\"&gt;&lt;\/i&gt;&lt;i class=\"fa fa-thumbs-down solid\"&gt;&lt;\/i&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"button button--fill comment-trigger\"&gt;\r\n              &lt;span&gt;Comment...&lt;\/span&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"button button--flag\"&gt;\r\n              &lt;i class=\"fa fa-comment-o\"&gt;&lt;\/i&gt;&lt;i class=\"fa fa-comment solid\"&gt;&lt;\/i&gt;2\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"post__comments\"&gt;\r\n              &lt;div class=\"comment-group\"&gt;\r\n                &lt;div class=\"post\"&gt;\r\n                  &lt;div class=\"post__avatar comment__avatar\"&gt;&lt;\/div&gt;\r\n                  &lt;h3 class=\"post__author\"&gt;\r\n                    Lester McTester\r\n                  &lt;\/h3&gt;\r\n                  &lt;h4 class=\"post__timestamp\"&gt;\r\n                    Oct 13 at 8:51pm \r\n                  &lt;\/h4&gt;\r\n                  &lt;p class=\"post__body\"&gt;\r\n                    Hamilton county river front museum center washington park breweries walnut hills findlay market christian moerlein flying pig ohio valley jazz festival union terminal fifty west coffee emporium chili.\r\n                  &lt;\/p&gt;\r\n                &lt;\/div&gt;\r\n                &lt;div class=\"post\"&gt;\r\n                  &lt;div class=\"post__avatar comment__avatar\"&gt;&lt;\/div&gt;\r\n                  &lt;h3 class=\"post__author\"&gt;\r\n                    Lester McTester\r\n                  &lt;\/h3&gt;\r\n                  &lt;h4 class=\"post__timestamp\"&gt;\r\n                    Oct 13 at 8:51pm \r\n                  &lt;\/h4&gt;\r\n                  &lt;p class=\"post__body\"&gt;\r\n                    Hamilton county river front museum center washington park breweries walnut hills findlay market christian moerlein flying pig ohio valley jazz festival union terminal fifty west coffee emporium chili.\r\n                  &lt;\/p&gt;\r\n                &lt;\/div&gt;\r\n              &lt;\/div&gt;\r\n              &lt;div class=\"comment-form\"&gt;\r\n                &lt;div class=\"comment-form__avatar\"&gt;&lt;\/div&gt;\r\n                &lt;textarea&gt;&lt;\/textarea&gt;\r\n                &lt;div class=\"comment-form__actions\"&gt;\r\n                  &lt;div class=\"button button--light cancel\"&gt;\r\n                    Cancel\r\n                  &lt;\/div&gt;\r\n                  &lt;div class=\"button button--confirm\"&gt;\r\n                    Comment\r\n                  &lt;\/div&gt;\r\n                &lt;\/div&gt;\r\n              &lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n          &lt;\/div&gt;\r\n        &lt;\/div&gt;\r\n        &lt;div class=\"post\"&gt;\r\n          &lt;div class=\"post__avatar\"&gt;&lt;\/div&gt;\r\n          &lt;h3 class=\"post__author\"&gt;\r\n            Lester McTester\r\n          &lt;\/h3&gt;\r\n          &lt;h4 class=\"post__timestamp\"&gt;\r\n            Oct 13 at 8:51pm \r\n          &lt;\/h4&gt;\r\n          &lt;p class=\"post__body\"&gt;\r\n            Hamilton county river front museum center washington park breweries walnut hills findlay market christian moerlein flying pig ohio valley jazz festival union terminal fifty west coffee emporium chili.\r\n          &lt;\/p&gt;\r\n          &lt;div class=\"post__actions\"&gt;\r\n            &lt;div class=\"button button--approve\"&gt;\r\n              &lt;i class=\"fa fa-thumbs-o-up\"&gt;&lt;\/i&gt;&lt;i class=\"fa fa-thumbs-up solid\"&gt;&lt;\/i&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"button button--deny\"&gt;\r\n              &lt;i class=\"fa fa-thumbs-o-down\"&gt;&lt;\/i&gt;&lt;i class=\"fa fa-thumbs-down solid\"&gt;&lt;\/i&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"button button--fill comment-trigger\"&gt;\r\n              &lt;span&gt;Comment...&lt;\/span&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"button button--flag\"&gt;\r\n              &lt;i class=\"fa fa-comment-o\"&gt;&lt;\/i&gt;&lt;i class=\"fa fa-comment solid\"&gt;&lt;\/i&gt;2\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"post__comments\"&gt;\r\n              &lt;div class=\"comment-group\"&gt;\r\n                &lt;div class=\"post\"&gt;\r\n                  &lt;div class=\"post__avatar comment__avatar\"&gt;&lt;\/div&gt;\r\n                  &lt;h3 class=\"post__author\"&gt;\r\n                    Lester McTester\r\n                  &lt;\/h3&gt;\r\n                  &lt;h4 class=\"post__timestamp\"&gt;\r\n                    Oct 13 at 8:51pm \r\n                  &lt;\/h4&gt;\r\n                  &lt;p class=\"post__body\"&gt;\r\n                    Hamilton county river front museum center washington park breweries walnut hills findlay market christian moerlein flying pig ohio valley jazz festival union terminal fifty west coffee emporium chili.\r\n                  &lt;\/p&gt;\r\n                &lt;\/div&gt;\r\n                &lt;div class=\"post\"&gt;\r\n                  &lt;div class=\"post__avatar comment__avatar\"&gt;&lt;\/div&gt;\r\n                  &lt;h3 class=\"post__author\"&gt;\r\n                    Lester McTester\r\n                  &lt;\/h3&gt;\r\n                  &lt;h4 class=\"post__timestamp\"&gt;\r\n                    Oct 13 at 8:51pm \r\n                  &lt;\/h4&gt;\r\n                  &lt;p class=\"post__body\"&gt;\r\n                    Hamilton county river front museum center washington park breweries walnut hills findlay market christian moerlein flying pig ohio valley jazz festival union terminal fifty west coffee emporium chili.\r\n                  &lt;\/p&gt;\r\n                &lt;\/div&gt;\r\n              &lt;\/div&gt;\r\n              &lt;div class=\"comment-form\"&gt;\r\n                &lt;div class=\"comment-form__avatar\"&gt;&lt;\/div&gt;\r\n                &lt;textarea&gt;&lt;\/textarea&gt;\r\n                &lt;div class=\"comment-form__actions\"&gt;\r\n                  &lt;div class=\"button button--light cancel\"&gt;\r\n                    Cancel\r\n                  &lt;\/div&gt;\r\n                  &lt;div class=\"button button--confirm\"&gt;\r\n                    Comment\r\n                  &lt;\/div&gt;\r\n                &lt;\/div&gt;\r\n              &lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n          &lt;\/div&gt;\r\n        &lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>3. Style the forum using the following CSS styles:<\/p>\n<pre class=\"prettyprint linenums lang-css\">@charset \"UTF-8\";\r\n* {\r\n  box-sizing: border-box;\r\n}\r\n\r\nhtml {\r\n  color: #4d4d4d;\r\n  background-color: #ebeff1;\r\n  font-family: \"Signika\";\r\n  font-size: 16px;\r\n  font-weight: 300;\r\n  text-rendering: optimizeLegibility;\r\n  -webkit-font-smoothing: antialiased;\r\n}\r\n\r\nh1 {\r\n  font-size: 26px;\r\n  font-weight: 700;\r\n}\r\n\r\nh2 {\r\n  font-size: 18px;\r\n  font-weight: 400;\r\n}\r\n\r\nh3 {\r\n  font-size: 18px;\r\n  font-weight: 700;\r\n}\r\n\r\nh4 {\r\n  font-size: 12px;\r\n  font-weight: 400;\r\n  color: #89989c;\r\n}\r\n\r\nul {\r\n  list-style: none;\r\n  padding: 0;\r\n  margin: 0;\r\n}\r\n\r\n.comment-form__avatar, .post__avatar {\r\n  position: absolute;\r\n  top: 15px;\r\n  left: 15px;\r\n  height: 50px;\r\n  width: 50px;\r\n  background-color: #89989c;\r\n  border-radius: 50%;\r\n}\r\n\r\n.comment-form .comment-form__actions .button {\r\n  position: relative;\r\n  display: inline-block;\r\n  width: initial;\r\n  height: 35px;\r\n  padding: 0 10px;\r\n  margin-left: 15px;\r\n  background-color: white;\r\n  color: #4ab2d9;\r\n  line-height: 35px;\r\n  font-weight: 400;\r\n  text-align: center;\r\n  border-radius: 2px;\r\n  cursor: pointer;\r\n  border: 1px solid #4ab2d9;\r\n  -webkit-transition: all 0.1s;\r\n  -o-transition: all 0.1s;\r\n  transition: all 0.1s;\r\n}\r\n.comment-form .comment-form__actions .button:hover {\r\n  background-color: #4ab2d9;\r\n  color: #FFF;\r\n}\r\n\r\n.comment-form, .panel {\r\n  position: relative;\r\n  padding: 15px;\r\n  background-color: #FFF;\r\n  border-radius: 2px;\r\n  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);\r\n}\r\n\r\n.container {\r\n  width: 90%;\r\n  max-width: 900px;\r\n  margin: 50px auto 100px;\r\n}\r\n\r\n.response-group {\r\n  position: relative;\r\n  width: 100%;\r\n  padding: 100px 15px 15px;\r\n  background-color: #fff;\r\n  border-radius: 2px;\r\n  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);\r\n}\r\n.response-group &gt; header {\r\n  position: absolute;\r\n  top: 0;\r\n  left: 0;\r\n  right: 0;\r\n  padding: 5px 15px;\r\n  background-color: rgba(255, 255, 255, 0.75);\r\n  border-radius: 2px;\r\n  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);\r\n  z-index: 100;\r\n}\r\n.response-group &gt; header i {\r\n  margin: 0 10px 0 20px;\r\n}\r\n.response-group &gt; header .header-dropdown-trigger {\r\n  border: 1px solid transparent;\r\n  padding: 10px;\r\n  border-radius: 2px;\r\n  cursor: pointer;\r\n}\r\n.response-group &gt; header .header-dropdown-trigger:after {\r\n  content: \"\uf078\";\r\n  font-family: \"FontAwesome\";\r\n  font-size: 0.5em;\r\n  line-height: 2.5;\r\n  vertical-align: top;\r\n  margin-left: 5px;\r\n}\r\n.response-group &gt; header .header-dropdown-trigger:hover, .response-group &gt; header .header-dropdown-trigger.active {\r\n  border: 1px solid #cdd7dc;\r\n}\r\n.response-group &gt; .header-dropdown {\r\n  display: none;\r\n  position: relative;\r\n  top: -38px;\r\n  left: -16px;\r\n  width: calc(100% + 32px);\r\n  padding: 15px 1px;\r\n  background: #ebeff1;\r\n}\r\n.response-group &gt; .header-dropdown.expand {\r\n  display: block;\r\n}\r\n.response-group &gt; .header-dropdown ul {\r\n  margin: -15px;\r\n}\r\n.response-group &gt; .header-dropdown li {\r\n  padding: 1em 15px;\r\n  cursor: pointer;\r\n  border-bottom: 1px solid #ebeff1;\r\n}\r\n.response-group &gt; .header-dropdown li h2 {\r\n  display: inline-block;\r\n  margin: 0;\r\n}\r\n.response-group &gt; .header-dropdown li:hover h2 {\r\n  font-weight: 700;\r\n}\r\n.response-group &gt; .header-dropdown li span {\r\n  float: right;\r\n  margin-left: 15px;\r\n  line-height: 1.25;\r\n}\r\n.response-group &gt; .header-dropdown .progress {\r\n  float: right;\r\n  width: 50%;\r\n  margin: 0.25em 0;\r\n}\r\n\r\n.progress {\r\n  position: relative;\r\n  width: 100%;\r\n  height: 0.75em;\r\n  border-radius: 2px;\r\n  background-color: #ebeff1;\r\n  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;\r\n}\r\n\r\n.progress__complete {\r\n  position: absolute;\r\n  top: 0;\r\n  width: 50%;\r\n  height: 0.75em;\r\n  background-color: #5fbc71;\r\n  border-radius: 2px;\r\n  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);\r\n}\r\n\r\n.response {\r\n  position: relative;\r\n}\r\n\r\n.response__number {\r\n  position: absolute;\r\n  width: 2rem;\r\n  height: 2rem;\r\n  line-height: 1.8rem;\r\n  font-size: 1.2em;\r\n  font-weight: 700;\r\n  text-align: center;\r\n  color: #89989c;\r\n  border: 2px solid #cdd7dc;\r\n  border-radius: 50%;\r\n}\r\n\r\n.response__title {\r\n  margin-left: 3.25rem;\r\n  margin-bottom: 50px;\r\n}\r\n\r\n.post-group {\r\n  margin-left: 3.5rem;\r\n}\r\n\r\n.post {\r\n  position: relative;\r\n  padding: 15px 15px 0 80px;\r\n  margin-bottom: 50px;\r\n  border: 1px solid #ebeff1;\r\n  border-bottom: none;\r\n  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);\r\n}\r\n\r\n.post__author {\r\n  margin-top: 5px;\r\n  margin-bottom: 5px;\r\n}\r\n\r\n.post__timestamp {\r\n  margin-top: 0;\r\n}\r\n\r\n.post__actions {\r\n  height: 40px;\r\n  width: calc(100% + 95px);\r\n  margin-left: -80px;\r\n  background-color: #ebeff1;\r\n  border-top: 1px solid #ebeff1;\r\n}\r\n.post__actions .button {\r\n  float: left;\r\n  height: 40px;\r\n  width: 40px;\r\n  line-height: 40px;\r\n  text-align: center;\r\n  vertical-align: top;\r\n  border-right: 1px solid #cdd7dc;\r\n}\r\n.post__actions .button i.solid {\r\n  display: none;\r\n}\r\n.post__actions .button:not(.comment):active i {\r\n  transform: scale(1.2);\r\n}\r\n.post__actions .button:not(.comment-trigger):hover, .post__actions .button:not(.comment-trigger).active {\r\n  background-color: #FFF;\r\n  cursor: pointer;\r\n}\r\n.post__actions .button:not(.comment-trigger):hover i.solid, .post__actions .button:not(.comment-trigger).active i.solid {\r\n  display: inline-block;\r\n}\r\n.post__actions .button:not(.comment-trigger):hover i:not(.solid), .post__actions .button:not(.comment-trigger).active i:not(.solid) {\r\n  display: none;\r\n}\r\n.post__actions .button:not(.comment-trigger):hover.button--approve, .post__actions .button:not(.comment-trigger).active.button--approve {\r\n  color: #5fbc71;\r\n}\r\n.post__actions .button:not(.comment-trigger):hover.button--deny, .post__actions .button:not(.comment-trigger).active.button--deny {\r\n  color: #f26f54;\r\n}\r\n.post__actions .button--flag {\r\n  width: 60px;\r\n  border-right: none;\r\n  font-weight: 400;\r\n}\r\n.post__actions .button--flag i {\r\n  margin-right: 5px;\r\n}\r\n.post__actions .button--fill {\r\n  width: calc(100% - 140px);\r\n  padding: 0 10px;\r\n  text-align: left;\r\n  font-size: 16px;\r\n  font-weight: 400;\r\n  color: #89989c;\r\n}\r\n\r\n.post__comments {\r\n  display: none;\r\n  padding: 15px;\r\n}\r\n\r\n.comment-group {\r\n  padding-bottom: 15px;\r\n}\r\n.comment-group .post {\r\n  padding: 15px 15px 0 65px;\r\n  margin-bottom: 15px;\r\n  box-shadow: none;\r\n}\r\n.comment-group .post__avatar {\r\n  height: 35px;\r\n  width: 35px;\r\n}\r\n\r\n.comment-form {\r\n  height: 100%;\r\n  padding: 15px 15px 15px 65px;\r\n}\r\n.comment-form textarea {\r\n  width: 100%;\r\n  height: 4em;\r\n  margin-bottom: 10px;\r\n  font-size: 16px;\r\n  border: 1px solid #cdd7dc;\r\n  border-radius: 2px;\r\n  box-shadow: 0 1px 1px #ebeff1 inset;\r\n}\r\n.comment-form textarea:focus {\r\n  outline: none;\r\n}\r\n\r\n.comment-form__avatar {\r\n  height: 35px;\r\n  width: 35px;\r\n}\r\n\r\n.comment-form .comment-form__actions {\r\n  text-align: right;\r\n}\r\n.comment-form .comment-form__actions .button {\r\n  float: none;\r\n}\r\n.comment-form .comment-form__actions .button--confirm {\r\n  border-color: #5fbc71;\r\n  color: #5fbc71;\r\n}\r\n.comment-form .comment-form__actions .button--confirm:hover {\r\n  background-color: #5fbc71;\r\n  color: #FFF;\r\n}\r\n.comment-form .comment-form__actions .button--light {\r\n  border-color: transparent;\r\n  color: #89989c;\r\n}\r\n.comment-form .comment-form__actions .button--light:hover {\r\n  background-color: #89989c;\r\n  color: #FFF;\r\n}\r\n\r\n.post--commenting .post__actions {\r\n  height: initial;\r\n}\r\n.post--commenting .button.comment-trigger span {\r\n  display: none;\r\n}\r\n.post--commenting .post__comments {\r\n  display: block;\r\n  margin-top: 40px;\r\n  border-top: 1px solid #cdd7dc;\r\n}\r\n<\/pre>\n<p>4. Finally, add the following JavaScript code to your project. It handles dropdown functionality. When the user clicks on a trigger element with the class <code>header-dropdown-trigger<\/code>, it toggles the class <code>active<\/code>, expanding or collapsing the dropdown menu.<\/p>\n<pre class=\"prettyprint linenums lang-js\">$( \".header-dropdown-trigger\" ).click(function() {\r\n  $( this ).toggleClass( \"active\" );\r\n  $( \".header-dropdown\" ).toggleClass( \"expand\" );\r\n});\r\n\r\n$( \".header-dropdown li\" ).click(function() {\r\n  $( \".header-dropdown-trigger\" ).removeClass( \"active\" );\r\n  $( \".header-dropdown\" ).removeClass( \"expand\" );\r\n});\r\n\r\n$( \".button--approve\" ).click(function() {\r\n  $( this ).toggleClass( \"active\" );\r\n  $( this ).siblings( '.button--deny' ).removeClass( \"active\" );\r\n});\r\n\r\n$( \".button--deny\" ).click(function() {\r\n  $( this ).toggleClass( \"active\" );\r\n  $( this ).siblings( '.button--approve' ).removeClass( \"active\" );\r\n});\r\n\r\n$( \".comment-trigger\" ).click(function() {\r\n  $( this ).parent().parent().toggleClass( \"post--commenting\" );\r\n});\r\n\r\n$( \".button--flag\" ).click(function() {\r\n  $( this ).parent().parent().toggleClass( \"post--commenting\" );\r\n});\r\n\r\n\r\n$( \".button--confirm\" ).click(function() {\r\n  $( this ).parent().parent().parent().parent().parent().toggleClass( \"post--commenting\" );\r\n});\r\n\r\n$( \".button.cancel\" ).click(function() {\r\n  $( this ).parent().parent().parent().parent().parent().toggleClass( \"post--commenting\" );\r\n});<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully integrated this HTML code into your project for the discussion forum design. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This code provides a basic HTML and CSS structure for a discussion forum. It includes a header, post list, and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9710,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[],"class_list":["post-9699","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>HTML Code For Discussion Forum &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a HTML Code For Discussion Forum. 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\/html-code-for-discussion-forum\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTML Code For Discussion Forum &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a HTML Code For Discussion Forum. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/\" \/>\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-10T18:06:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:07:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"HTML Code For Discussion Forum\",\"datePublished\":\"2024-01-10T18:06:00+00:00\",\"dateModified\":\"2024-01-22T11:07:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/\"},\"wordCount\":204,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.png\",\"articleSection\":[\"HTML5 &amp; CSS3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/\",\"url\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/\",\"name\":\"HTML Code For Discussion Forum &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.png\",\"datePublished\":\"2024-01-10T18:06:00+00:00\",\"dateModified\":\"2024-01-22T11:07:11+00:00\",\"description\":\"Here is a free code snippet to create a HTML Code For Discussion Forum. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.png\",\"width\":1280,\"height\":960,\"caption\":\"HTML Code For Discussion Forum\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#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\":\"HTML Code For Discussion Forum\"}]},{\"@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":"HTML Code For Discussion Forum &#8212; CodeHim","description":"Here is a free code snippet to create a HTML Code For Discussion Forum. 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\/html-code-for-discussion-forum\/","og_locale":"en_US","og_type":"article","og_title":"HTML Code For Discussion Forum &#8212; CodeHim","og_description":"Here is a free code snippet to create a HTML Code For Discussion Forum. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-10T18:06:00+00:00","article_modified_time":"2024-01-22T11:07:11+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.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":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"HTML Code For Discussion Forum","datePublished":"2024-01-10T18:06:00+00:00","dateModified":"2024-01-22T11:07:11+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/"},"wordCount":204,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.png","articleSection":["HTML5 &amp; CSS3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/","url":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/","name":"HTML Code For Discussion Forum &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.png","datePublished":"2024-01-10T18:06:00+00:00","dateModified":"2024-01-22T11:07:11+00:00","description":"Here is a free code snippet to create a HTML Code For Discussion Forum. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/HTML-Code-For-Discussion-Forum.png","width":1280,"height":960,"caption":"HTML Code For Discussion Forum"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/html5-css3\/html-code-for-discussion-forum\/#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":"HTML Code For Discussion Forum"}]},{"@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":6860,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9699","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=9699"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9699\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9710"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}