{"id":9422,"date":"2024-01-10T18:02:00","date_gmt":"2024-01-10T18:02:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9422"},"modified":"2024-01-22T16:03:34","modified_gmt":"2024-01-22T11:03:34","slug":"fade-in-on-scroll-css-javascript","status":"publish","type":"post","link":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/","title":{"rendered":"Fade In On Scroll Using CSS and JavaScript"},"content":{"rendered":"<p>The &#8220;Fade In On Scroll&#8221; effect is a popular web design technique that adds a touch of interactivity to your website. This CSS and JavaScript code snippet helps you to create fade in effect on scroll event. It detects when the elements are within 300 pixels of the top of the screen and adds a class, &#8220;scroll&#8211;show,&#8221; to make them visible.<\/p>\n<p>This effect is applied to headings within different sections, giving your webpage an engaging appearance. It&#8217;s a helpful way to create a stylish scroll-triggered animation on your webpage.<\/p>\n<h2>How to Create Fade In Effect On Scroll Using CSS &amp; Javascript<\/h2>\n<p>1. Begin by setting up the HTML structure of your webpage. In this example, we&#8217;ll use a series of sections with headings that we want to apply the &#8220;Fade In On Scroll&#8221; effect to. Here&#8217;s a simplified example of the HTML structure:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;section class=\"section01\"&gt;\r\n  &lt;h1&gt;Uma&lt;\/k1&gt;\r\n&lt;\/section&gt;\r\n&lt;section class=\"section02\"&gt;\r\n  &lt;h1 class=\"scroll\"&gt;coisa&lt;\/h1&gt;\r\n&lt;\/section&gt;\r\n&lt;section class=\"section03\"&gt;\r\n  &lt;h1 class=\"scroll\"&gt;de cada&lt;\/h1&gt;\r\n&lt;\/section&gt;\r\n&lt;section class=\"section04\"&gt;\r\n  &lt;h1 class=\"scroll\"&gt;vez&lt;\/h1&gt;\r\n&lt;\/section&gt;\r\n<\/pre>\n<p>In the above HTML code, we&#8217;ve added the <code>\"scroll\"<\/code> class to the headings we want to apply the fading effect. You can add this class to the element that you want to fade in on the page scroll down.<\/p>\n<p>2. Next, let&#8217;s define the CSS styles to control the appearance of our sections and headings. The key elements here are the <code>\"scroll\"<\/code> class, which initially sets the opacity to 0 and a translateY transformation to move the elements up:<\/p>\n<pre class=\"prettyprint linenums lang-css\">@import url(\"https:\/\/fonts.googleapis.com\/css?family=Open+Sans:400,400i,700\");\r\n\r\nbody {\r\n  margin: 0;\r\n  padding: 0;\r\n}\r\n\r\nsection {\r\n  height: 100vh;\r\n  display: flex; \r\n  align-items: center;\r\n  justify-content: center;\r\n}\r\nh1 {\r\n  text-transform: uppercase;\r\n  font-family: 'Open Sans', sans-serif;\r\n  font-size: 100px;\r\n  font-weight: 900;\r\n  margin: 0;\r\n  color: #fff;\r\n}\r\n.section01{\r\n  background: #621055;\r\n}\r\n.section02{\r\n  background: #b52b65;\r\n}\r\n.section03{\r\n  background: #ed6663;\r\n  \r\n}\r\n.section04{\r\n  background: #ffa372; \r\n}\r\n.scroll {\r\n   transform: translateY(-30px);\r\n  opacity: 0;\r\n  transition: 1s;\r\n}\r\n.scroll--show {\r\n  transform: translateY(0px);\r\n  opacity: 1;\r\n}<\/pre>\n<p>3. Finally, implement the JavaScript code that handles the fading effect. This code listens for scroll events and adds the <code>\"scroll--show\"<\/code> class to elements with the <code>\"scroll\"<\/code> class when they come within 300 pixels from the top of the screen:<\/p>\n<pre class=\"prettyprint linenums lang-js\">var elScroll = document.querySelectorAll('.scroll'); \/\/pega todos os elementos com a classe .scroll\r\n\r\ndocument.onscroll = function() { \/\/ao rolar a tela...\r\n  elScroll.forEach(elScroll =&gt; { \/\/cada elemento com a classe .scroll ...\r\n  var positionEl = elScroll.getBoundingClientRect(); \/\/pega valores da posi\u00e7\u00e3o do elemento\r\n  var alturaEl = positionEl.top; \/\/pega distancia do topo da tela\r\n  \r\n  if(alturaEl &lt; 300) { \/\/se a distancia do topo for menor que 300\r\n    elScroll.classList.add('scroll--show'); \/\/adiciona a classe .scroll--show\r\n  }\r\n });\r\n}<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created Fade In animation on scroll using CSS and JavaScript. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;Fade In On Scroll&#8221; effect is a popular web design technique that adds a touch of interactivity to your&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9432,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[209],"tags":[78],"class_list":["post-9422","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-animation-effects","tag-scrolling"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fade In On Scroll Using CSS and JavaScript &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Fade In On Scroll Using CSS and JavaScript. 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\/animation-effects\/fade-in-on-scroll-css-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fade In On Scroll Using CSS and JavaScript &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Fade In On Scroll Using CSS and JavaScript. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/\" \/>\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:02:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:03:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.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\/animation-effects\/fade-in-on-scroll-css-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Fade In On Scroll Using CSS and JavaScript\",\"datePublished\":\"2024-01-10T18:02:00+00:00\",\"dateModified\":\"2024-01-22T11:03:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/\"},\"wordCount\":294,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.png\",\"keywords\":[\"Scrolling Effects\"],\"articleSection\":[\"Animation &amp; Effects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/\",\"url\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/\",\"name\":\"Fade In On Scroll Using CSS and JavaScript &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.png\",\"datePublished\":\"2024-01-10T18:02:00+00:00\",\"dateModified\":\"2024-01-22T11:03:34+00:00\",\"description\":\"Here is a free code snippet to create a Fade In On Scroll Using CSS and JavaScript. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.png\",\"width\":1280,\"height\":960,\"caption\":\"Fade In On Scroll Using CSS and JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Animation &amp; Effects\",\"item\":\"https:\/\/codehim.com\/category\/animation-effects\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Fade In On Scroll Using CSS and JavaScript\"}]},{\"@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":"Fade In On Scroll Using CSS and JavaScript &#8212; CodeHim","description":"Here is a free code snippet to create a Fade In On Scroll Using CSS and JavaScript. 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\/animation-effects\/fade-in-on-scroll-css-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Fade In On Scroll Using CSS and JavaScript &#8212; CodeHim","og_description":"Here is a free code snippet to create a Fade In On Scroll Using CSS and JavaScript. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-10T18:02:00+00:00","article_modified_time":"2024-01-22T11:03:34+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.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\/animation-effects\/fade-in-on-scroll-css-javascript\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Fade In On Scroll Using CSS and JavaScript","datePublished":"2024-01-10T18:02:00+00:00","dateModified":"2024-01-22T11:03:34+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/"},"wordCount":294,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.png","keywords":["Scrolling Effects"],"articleSection":["Animation &amp; Effects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/","url":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/","name":"Fade In On Scroll Using CSS and JavaScript &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.png","datePublished":"2024-01-10T18:02:00+00:00","dateModified":"2024-01-22T11:03:34+00:00","description":"Here is a free code snippet to create a Fade In On Scroll Using CSS and JavaScript. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Fade-In-On-Scroll-Using-CSS-and-JavaScript.png","width":1280,"height":960,"caption":"Fade In On Scroll Using CSS and JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/animation-effects\/fade-in-on-scroll-css-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Animation &amp; Effects","item":"https:\/\/codehim.com\/category\/animation-effects\/"},{"@type":"ListItem","position":3,"name":"Fade In On Scroll Using CSS and JavaScript"}]},{"@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":4158,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9422","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=9422"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9422\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9432"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}