{"id":9117,"date":"2024-01-19T17:59:00","date_gmt":"2024-01-19T17:59:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9117"},"modified":"2024-01-22T15:59:35","modified_gmt":"2024-01-22T10:59:35","slug":"sticky-sidebar-on-scroll-javascript","status":"publish","type":"post","link":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/","title":{"rendered":"Sticky Sidebar on Scroll JavaScript"},"content":{"rendered":"<p>This JavaScript code implements &#8220;Sticky Sidebar on Scroll&#8221; functionality. It makes a sidebar stick to the top or bottom based on scrolling and screen size, enhancing user experience by keeping the sidebar visible during scrolling.<\/p>\n<p>You can use this code on websites with sidebars to create a user-friendly experience. It keeps the <a href=\"https:\/\/codehim.com\/layout\/fixed-sidebar-with-scrolling-content\/\" target=\"_blank\" rel=\"noopener\">sidebar visible when scrolling<\/a>, improving <a href=\"https:\/\/codehim.com\/tag\/side-menu\/\" target=\"_blank\" rel=\"noopener\">navigation<\/a>. This enhances content accessibility and user engagement.<\/p>\n<h2>How to Create a Sticky Sidebar On Scroll using HTML, CSS and JavaScript<\/h2>\n<p>1. To get started, make sure you have an HTML structure that includes the main content and the sidebar you want to make sticky. Here&#8217;s a basic example:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div id=\"header\"&gt;&lt;h1&gt;Lightweight, Intelligent Sticky Sidebar, NO libraries&lt;\/h1&gt;&lt;\/div&gt;\r\n&lt;div id=\"wrapper\"&gt;\r\n\t&lt;div id=\"main\"&gt;\r\n\t\tMain content\r\n\t&lt;\/div&gt;\r\n\t&lt;div id=\"sidebar\"&gt;\r\n\t\t&lt;div id=\"sc\"&gt;\r\n\t\t\tSticky sidebar\r\n\t\t&lt;\/div&gt;\r\n\t&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;div id=\"footer\"&gt;&lt;\/div&gt;\r\n<\/pre>\n<p>2. The following CSS code styles your HTML elements to create the desired layout and appearance. Ensure you include this CSS in your stylesheet to maintain the structure and design.<\/p>\n<pre class=\"prettyprint linenums lang-css\">body *{box-sizing:border-box;}\r\n\r\n#header,#footer{width:100%;height:200px;background-color:#eee;text-align:center;}\r\nbody,#main,#wrapper,#sc{padding:15px;}\r\n#main{background-color:#F88300;width:60%;height:180vh;}\r\n#sidebar{position:relative;width:25%;}\r\n#sc{background-color:#FFD600;height:80vh;}\t\r\n#wrapper{display:flex;justify-content:space-between;}\r\n#wrapper.fix-bottom-VP #sc,#wrapper.fix-top-VP #sc{position:fixed;}\r\n#wrapper.fix-bottom-VP #sc{bottom:15px;}\r\n#wrapper.fix-top-VP #sc{top:15px;}\r\n#wrapper.flex-bottom{align-items:flex-end;}<\/pre>\n<p>3. Finally, include the JavaScript code within your HTML document or an external JavaScript file. This code handles the sticky sidebar functionality by adjusting the sidebar&#8217;s position as the user scrolls.<\/p>\n<pre class=\"prettyprint linenums lang-js\">var\twrapper = document.getElementById(\"wrapper\"), main = document.getElementById(\"main\"), sidebar = document.getElementById(\"sc\");\r\nwindow.onscroll = function() {\r\n\tdocument.getElementById('sc').setAttribute(\"style\",\"display:block;width:\" + document.getElementById(\"sidebar\").offsetWidth+\"px\");\r\n\tdocument.getElementById('sc').style.width = document.getElementById(\"sidebar\").offsetWidth;\t\r\n\t\/\/if sidebar smaller than main\r\n\tif (sidebar.offsetHeight &lt; main.offsetHeight) {\r\n\t\t\/\/if sidebar smaller than screen - stick to top rather than bottom\r\n\t\tif (sidebar.offsetHeight &lt; window.innerHeight) {\r\n\t\t\tif ((wrapper.getBoundingClientRect().bottom &lt; (window.innerHeight))\r\n\t\t\t\t\t&amp;&amp; ((wrapper.getBoundingClientRect().bottom &lt; sidebar.offsetHeight))\r\n\t\t\t\t ) {\r\n\t\t\t\twrapper.classList.remove(\"fix-top-VP\");\r\n\t\t\t\twrapper.classList.add(\"flex-bottom\");\r\n\t\t\t}\r\n\t\t\telse if (wrapper.getBoundingClientRect().top &lt; 0 ) {\r\n\t\t\t\twrapper.classList.add(\"fix-top-VP\");\r\n\t\t\t\twrapper.classList.remove(\"flex-bottom\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\twrapper.classList.remove(\"fix-top-VP\");\r\n\t\t\t\twrapper.classList.remove(\"flex-bottom\");\r\n\t\t\t}\r\n\t\t}\r\n\t\t\/\/if wrapper taller than sidebar - stick to bottom\r\n\t\telse if (sidebar.offsetHeight &lt; wrapper.offsetHeight) {\r\n\t\t\tif (wrapper.getBoundingClientRect().bottom &lt; (window.innerHeight)) {\r\n\t\t\t\twrapper.classList.remove(\"fix-bottom-VP\");\r\n\t\t\t\twrapper.classList.add(\"flex-bottom\");\r\n\t\t\t}\r\n\t\t\telse if (wrapper.getBoundingClientRect().bottom &gt; (sidebar.offsetHeight + window.innerHeight)) {\r\n\t\t\t\twrapper.classList.remove(\"fix-bottom-VP\");\r\n\t\t\t\twrapper.classList.remove(\"flex-bottom\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\twrapper.classList.add(\"fix-bottom-VP\");\r\n\t\t\t\twrapper.classList.remove(\"flex-bottom\");\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}<\/pre>\n<p>You can customize the sidebar&#8217;s content and appearance by modifying the HTML and CSS as per your requirements. Make sure to maintain the appropriate IDs and class names.<\/p>\n<p>That&#8217;s all! hopefully, you have successfully created a sticky sidebar on scroll in JavaScript. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript code implements &#8220;Sticky Sidebar on Scroll&#8221; functionality. It makes a sidebar stick to the top or bottom based&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9135,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[109],"tags":[],"class_list":["post-9117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-layout"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Sticky Sidebar on Scroll JavaScript &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Sticky Sidebar 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\/layout\/sticky-sidebar-on-scroll-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sticky Sidebar on Scroll JavaScript &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Sticky Sidebar on Scroll JavaScript. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/layout\/sticky-sidebar-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-19T17:59:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:59:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-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\/layout\/sticky-sidebar-on-scroll-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Sticky Sidebar on Scroll JavaScript\",\"datePublished\":\"2024-01-19T17:59:00+00:00\",\"dateModified\":\"2024-01-22T10:59:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/\"},\"wordCount\":227,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-on-Scroll-JavaScript.png\",\"articleSection\":[\"Layout\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/\",\"url\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/\",\"name\":\"Sticky Sidebar on Scroll JavaScript &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-on-Scroll-JavaScript.png\",\"datePublished\":\"2024-01-19T17:59:00+00:00\",\"dateModified\":\"2024-01-22T10:59:35+00:00\",\"description\":\"Here is a free code snippet to create a Sticky Sidebar on Scroll JavaScript. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-on-Scroll-JavaScript.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-on-Scroll-JavaScript.png\",\"width\":1280,\"height\":960,\"caption\":\"Sticky Sidebar on Scroll JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Layout\",\"item\":\"https:\/\/codehim.com\/category\/layout\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Sticky Sidebar 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":"Sticky Sidebar on Scroll JavaScript &#8212; CodeHim","description":"Here is a free code snippet to create a Sticky Sidebar 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\/layout\/sticky-sidebar-on-scroll-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Sticky Sidebar on Scroll JavaScript &#8212; CodeHim","og_description":"Here is a free code snippet to create a Sticky Sidebar on Scroll JavaScript. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/","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:35+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-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\/layout\/sticky-sidebar-on-scroll-javascript\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Sticky Sidebar on Scroll JavaScript","datePublished":"2024-01-19T17:59:00+00:00","dateModified":"2024-01-22T10:59:35+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/"},"wordCount":227,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-on-Scroll-JavaScript.png","articleSection":["Layout"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/","url":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/","name":"Sticky Sidebar on Scroll JavaScript &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-on-Scroll-JavaScript.png","datePublished":"2024-01-19T17:59:00+00:00","dateModified":"2024-01-22T10:59:35+00:00","description":"Here is a free code snippet to create a Sticky Sidebar on Scroll JavaScript. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-on-Scroll-JavaScript.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sticky-Sidebar-on-Scroll-JavaScript.png","width":1280,"height":960,"caption":"Sticky Sidebar on Scroll JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/layout\/sticky-sidebar-on-scroll-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Layout","item":"https:\/\/codehim.com\/category\/layout\/"},{"@type":"ListItem","position":3,"name":"Sticky Sidebar 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":1550,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9117","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=9117"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9117\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9135"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}