{"id":9439,"date":"2024-01-10T18:02:00","date_gmt":"2024-01-10T18:02:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9439"},"modified":"2024-01-22T16:03:39","modified_gmt":"2024-01-22T11:03:39","slug":"change-navbar-color-on-scroll-javascript","status":"publish","type":"post","link":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/","title":{"rendered":"Change Navbar Color on Scroll JavaScript"},"content":{"rendered":"<p>This JavaScript code snippet offers functionality to change the color of the website&#8217;s navbar on the scroll event. This effect is achieved by adding a <code>\"scrolled\"<\/code> class to the navigation bar element when the page is scrolled.<\/p>\n<p>After a one-second delay, the code checks if the user has scrolled back to the top, then makes the navigation bar transparent again, creating a sleek scrolling experience for the website visitors.<\/p>\n<h2>How to Change Navbar Color On Scroll Using JavaScript<\/h2>\n<p>1. First, create your HTML structure. You&#8217;ll need a basic HTML structure with a header that contains your <a href=\"https:\/\/codehim.com\/menu\/sticky-navigation-bar-on-scroll-using-vanilla-javascript\/\" target=\"_blank\" rel=\"noopener\">navigation bar<\/a> and a main content section. Here&#8217;s an example:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;header&gt;\r\n    &lt;nav id=\"navigation\"&gt;\r\n      &lt;ul&gt;\r\n        &lt;li&gt;Link One&lt;\/li&gt;\r\n        &lt;li&gt;Link Two&lt;\/li&gt;\r\n        &lt;li&gt;Link Three&lt;\/li&gt;\r\n      &lt;\/ul&gt;\r\n    &lt;\/nav&gt;\r\n  &lt;\/header&gt;\r\n  &lt;main&gt;\r\n      &lt;!-- Your contetn goes here --&gt;\r\n  &lt;\/main&gt;\r\n<\/pre>\n<p>2. Next, let&#8217;s style the elements. In this example, we&#8217;re using a CSS file (styles.css) to style the header, navigation bar, and main content section. We&#8217;ll also define the <code>\"scrolled\"<\/code> class that will change the navigation bar&#8217;s background color when added.<\/p>\n<pre class=\"prettyprint linenums lang-css\">*,\r\n*::before,\r\n*::after {\r\n  padding: 0;\r\n  margin: 0;\r\n  box-sizing: border-box;\r\n}\r\n\r\nhtml {\r\n  width: 100%;\r\n  height: 100vh;\r\n}\r\n\r\nbody {\r\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,\r\n    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\r\n  font-size: 18px;\r\n}\r\n\r\nheader {\r\n  position: sticky;\r\n  top: 0;\r\n}\r\n\r\nnav {\r\n  background: transparent;\r\n  transition: all ease 500ms;\r\n}\r\n\r\nnav ul {\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: center;\r\n  list-style: none;\r\n}\r\n\r\nnav ul li {\r\n  padding: 2rem;\r\n  margin: 1rem;\r\n  text-transform: uppercase;\r\n  font-weight: bold;\r\n}\r\n\r\nh1 {\r\n  font-size: 3.6rem;\r\n  text-align: center;\r\n}\r\n\r\nmain {\r\n  width: 80vw;\r\n  margin: 2rem auto;\r\n}\r\n\r\nmain div {\r\n  margin: 2rem;\r\n}\r\n\r\n.scrolled {\r\n  background: hsl(160, 100%, 50%);\r\n  box-shadow: 0 1px 5px hsla(0, 0%, 0%, 0.3);\r\n}<\/pre>\n<p>4. Now, let&#8217;s add the JavaScript code (script.js) that will change the navigation bar&#8217;s color as you scroll down the page.<\/p>\n<pre class=\"prettyprint linenums lang-js\">\/\/ Get the Navbar element\r\nconst nav = document.getElementById('navigation');\r\n\r\n\/\/ Add an event listener to the document\r\n\/\/ so that a class is added to the nav\r\n\/\/ element when the page is scrolled\r\ndocument.addEventListener('scroll', () =&gt; {\r\n  nav.classList.add('scrolled');\r\n\r\n  \/\/ After 1s, check if the user has scrolled to\r\n  \/\/ the top of the page and make the nav\r\n  \/\/ element transparent again\r\n  setTimeout(() =&gt; {\r\n    if (window.pageYOffset === 0 &amp;&amp; nav.classList.contains('scrolled')) {\r\n      nav.classList.remove('scrolled');\r\n    }\r\n  }, 1000);\r\n});<\/pre>\n<p>That&#8217;s all! hopefully, You&#8217;ve successfully created a simple and visually appealing scroll effect for your web page&#8217;s navigation bar using HTML, CSS, and JavaScript. Feel free to customize the styles and timing to fit your website&#8217;s design.<\/p>\n<p>If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript code snippet offers functionality to change the color of the website&#8217;s navbar on the scroll event. This effect&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9449,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[38],"tags":[15,78],"class_list":["post-9439","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-menu","tag-horizontal-menu","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>Change Navbar Color on Scroll JavaScript &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Change Navbar Color on Scroll 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\/menu\/change-navbar-color-on-scroll-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Change Navbar Color on Scroll JavaScript &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Change Navbar Color on Scroll JavaScript. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-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:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Change Navbar Color on Scroll JavaScript\",\"datePublished\":\"2024-01-10T18:02:00+00:00\",\"dateModified\":\"2024-01-22T11:03:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/\"},\"wordCount\":233,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-JavaScript.png\",\"keywords\":[\"Horizontal Menu\",\"Scrolling Effects\"],\"articleSection\":[\"Menu &amp; Nav\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/\",\"url\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/\",\"name\":\"Change Navbar Color on Scroll JavaScript &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-JavaScript.png\",\"datePublished\":\"2024-01-10T18:02:00+00:00\",\"dateModified\":\"2024-01-22T11:03:39+00:00\",\"description\":\"Here is a free code snippet to create a Change Navbar Color on Scroll JavaScript. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-JavaScript.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-JavaScript.png\",\"width\":1280,\"height\":960,\"caption\":\"Change Navbar Color on Scroll JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Menu &amp; Nav\",\"item\":\"https:\/\/codehim.com\/category\/menu\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Change Navbar Color on Scroll 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":"Change Navbar Color on Scroll JavaScript &#8212; CodeHim","description":"Here is a free code snippet to create a Change Navbar Color on Scroll 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\/menu\/change-navbar-color-on-scroll-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Change Navbar Color on Scroll JavaScript &#8212; CodeHim","og_description":"Here is a free code snippet to create a Change Navbar Color on Scroll JavaScript. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-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:39+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-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":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Change Navbar Color on Scroll JavaScript","datePublished":"2024-01-10T18:02:00+00:00","dateModified":"2024-01-22T11:03:39+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/"},"wordCount":233,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-JavaScript.png","keywords":["Horizontal Menu","Scrolling Effects"],"articleSection":["Menu &amp; Nav"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/","url":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/","name":"Change Navbar Color on Scroll JavaScript &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-JavaScript.png","datePublished":"2024-01-10T18:02:00+00:00","dateModified":"2024-01-22T11:03:39+00:00","description":"Here is a free code snippet to create a Change Navbar Color on Scroll JavaScript. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-JavaScript.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Change-Navbar-Color-on-Scroll-JavaScript.png","width":1280,"height":960,"caption":"Change Navbar Color on Scroll JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/menu\/change-navbar-color-on-scroll-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Menu &amp; Nav","item":"https:\/\/codehim.com\/category\/menu\/"},{"@type":"ListItem","position":3,"name":"Change Navbar Color on Scroll 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":1645,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9439","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=9439"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9439\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9449"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}