{"id":9483,"date":"2024-01-09T18:03:00","date_gmt":"2024-01-09T18:03:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9483"},"modified":"2024-01-22T16:04:58","modified_gmt":"2024-01-22T11:04:58","slug":"expanding-image-carousel-in-javascript","status":"publish","type":"post","link":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/","title":{"rendered":"Expanding Image Carousel in JavaScript"},"content":{"rendered":"<p>This code creates an image carousel with expanding panels. Clicking on a panel opens it, revealing a full-screen image. The code uses HTML, CSS, and JavaScript to achieve this effect. It&#8217;s a visually appealing way to showcase images or content in a dynamic manner.<\/p>\n<p>It&#8217;s great for <a href=\"https:\/\/codehim.com\/gallery\/simple-css-image-gallery-with-thumbnail\/\" target=\"_blank\" rel=\"noopener\">showcasing products<\/a>, portfolio items, or featured content in a visually appealing way.<\/p>\n<h2>How to Create an Expanding Image Carousel in JavaScript<\/h2>\n<p>1. Begin by setting up the HTML structure. Inside your HTML file, create a <code>&lt;div&gt;<\/code> with the class &#8220;panels&#8221; and individual panels with the class &#8220;panel.&#8221; Each panel will contain the content you want to showcase. Make sure to include images in the panel backgrounds.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"panels\"&gt;\r\n    &lt;div class=\"panel panel1\"&gt;\r\n        &lt;p&gt;Whatever&lt;\/p&gt;\r\n        &lt;p&gt;It&lt;\/p&gt;\r\n        &lt;p&gt;Takes&lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"panel panel2\"&gt;\r\n        &lt;p&gt;Cause&lt;\/p&gt;\r\n        &lt;p&gt;I&lt;\/p&gt;\r\n        &lt;p&gt;Love&lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"panel panel3\"&gt;\r\n        &lt;p&gt;The&lt;\/p&gt;\r\n        &lt;p&gt;Adrenaline&lt;\/p&gt;\r\n        &lt;p&gt;In&lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"panel panel4\"&gt;\r\n        &lt;p&gt;My&lt;\/p&gt;\r\n        &lt;p&gt;Veins&lt;\/p&gt;\r\n        &lt;p&gt;I&lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"panel panel5\"&gt;\r\n        &lt;p&gt;Do&lt;\/p&gt;\r\n        &lt;p&gt;What It&lt;\/p&gt;\r\n        &lt;p&gt;Takes !!!&lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>2. Style your panels and define their appearance in the CSS section. You can customize the backgrounds, fonts, and other visual elements to match your website&#8217;s design. Add the following CSS code to your project:<\/p>\n<pre class=\"prettyprint linenums lang-css\">html {\r\n    box-sizing: border-box;\r\n    background: #ffc600;\r\n    font-family: 'helvetica neue';\r\n    font-size: 20px;\r\n    font-weight: 200;\r\n}\r\n\r\nbody {\r\n    margin: 0;\r\n}\r\n\r\n*,\r\n*:before,\r\n*:after {\r\n    box-sizing: inherit;\r\n}\r\n.panels {\r\n    height: 100vh;\r\n    overflow: hidden;\r\n    display: flex;\r\n}\r\n.panel{\r\n    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.1);\r\n    color: darkorange;\r\n    text-align: center;\r\n    align-items: center;\r\n    transition:\r\n            font-size 0.7s cubic-bezier(0.61, -0.19, 0.7, -0.11),\r\n            flex 0.7s cubic-bezier(0.61, -0.19, 0.7, -0.11),\r\n            background 0.2s;\r\n    font-size: 20px;\r\n    background: #6B0F9C center;\r\n    background-size: cover;\r\n    display: flex;\r\n    flex-direction: column;\r\n    justify-content: center;\r\n    flex: 1;\r\n}\r\n.panel1{\r\n    background-image: url(https:\/\/images.unsplash.com\/photo-1526506118085-60ce8714f8c5?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjF9);\r\n}\r\n.panel2{\r\n    background-image: url(https:\/\/images.unsplash.com\/photo-1517836357463-d25dfeac3438?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjF9);\r\n}\r\n.panel3{\r\n    background-image: url(https:\/\/images.unsplash.com\/photo-1532384748853-8f54a8f476e2?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjF9);\r\n}\r\n.panel4{\r\n    background-image: url(https:\/\/images.unsplash.com\/photo-1434596922112-19c563067271?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjF9);\r\n}\r\n.panel5{\r\n    background-image: url(https:\/\/images.unsplash.com\/photo-1506197061617-7f5c0b093236?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjF9);\r\n}\r\n\/*Flex Children*\/\r\n.panel&gt;* {\r\n    margin: 0;\r\n    width: 100%;\r\n    transition: transform 0.5s;\r\n    display: flex;\r\n    flex: 1 0 auto;\r\n    justify-content: center;\r\n    align-items: center;\r\n}\r\n.panel&gt;*:first-child{\r\n    transform: translateY(-100%);\r\n}\r\n.panel.open-active&gt;*:first-child{\r\n    transform: translateY(0);\r\n}\r\n.panel&gt;*:last-child{\r\n    transform: translateY(100%);\r\n}\r\n.panel.open-active&gt;*:last-child{\r\n    transform: translateY(0);\r\n}\r\n.panel p {\r\n    text-transform: uppercase;\r\n    font-family: 'Amatic SC', cursive;\r\n    text-shadow: 0 0 4px rgba(0, 0, 0, 0.72), 0 0 14px rgba(0, 0, 0, 0.45);\r\n    font-size: 2em;\r\n}\r\n.panel p:nth-child(2) {\r\n    font-size: 4em;\r\n}\r\n\r\n.panel.open {\r\n    font-size: 40px;\r\n    flex: 5;\r\n}<\/pre>\n<p>3. To make the panels expand and contract, we&#8217;ll use JavaScript. Include the following JavaScript code in your HTML file. It adds interactivity to the panels, making them expand when clicked.<\/p>\n<pre class=\"prettyprint linenums lang-js\">const panels = document.querySelectorAll('.panel');\r\n    function toggleOpen() {\r\n        this.classList.toggle('open')\r\n    }\r\n    function toggleActive(e){\r\n        if(e.propertyName.includes('flex')){\r\n            this.classList.toggle('open-active')\r\n        }\r\n    }\r\n\r\n    panels.forEach((panel)=&gt;panel.addEventListener('click',toggleOpen));\r\n    panels.forEach((panel)=&gt;panel.addEventListener('transitionend',toggleActive));<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created an Expanding Image Carousel in JavaScript. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This code creates an image carousel with expanding panels. Clicking on a panel opens it, revealing a full-screen image. The&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9491,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[59],"tags":[],"class_list":["post-9483","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-carousel"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Expanding Image Carousel in JavaScript &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Expanding Image Carousel in 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\/carousel\/expanding-image-carousel-in-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Expanding Image Carousel in JavaScript &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Expanding Image Carousel in JavaScript. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-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-09T18:03:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:04:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\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\/carousel\/expanding-image-carousel-in-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Expanding Image Carousel in JavaScript\",\"datePublished\":\"2024-01-09T18:03:00+00:00\",\"dateModified\":\"2024-01-22T11:04:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/\"},\"wordCount\":210,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png\",\"articleSection\":[\"Carousel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/\",\"url\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/\",\"name\":\"Expanding Image Carousel in JavaScript &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png\",\"datePublished\":\"2024-01-09T18:03:00+00:00\",\"dateModified\":\"2024-01-22T11:04:58+00:00\",\"description\":\"Here is a free code snippet to create a Expanding Image Carousel in JavaScript. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png\",\"width\":1280,\"height\":960,\"caption\":\"Expanding Image Carousel in JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Carousel\",\"item\":\"https:\/\/codehim.com\/category\/carousel\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Expanding Image Carousel in 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":"Expanding Image Carousel in JavaScript &#8212; CodeHim","description":"Here is a free code snippet to create a Expanding Image Carousel in 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\/carousel\/expanding-image-carousel-in-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Expanding Image Carousel in JavaScript &#8212; CodeHim","og_description":"Here is a free code snippet to create a Expanding Image Carousel in JavaScript. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-09T18:03:00+00:00","article_modified_time":"2024-01-22T11:04:58+00:00","og_image":[{"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png","width":1200,"height":900,"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\/carousel\/expanding-image-carousel-in-javascript\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Expanding Image Carousel in JavaScript","datePublished":"2024-01-09T18:03:00+00:00","dateModified":"2024-01-22T11:04:58+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/"},"wordCount":210,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png","articleSection":["Carousel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/","url":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/","name":"Expanding Image Carousel in JavaScript &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png","datePublished":"2024-01-09T18:03:00+00:00","dateModified":"2024-01-22T11:04:58+00:00","description":"Here is a free code snippet to create a Expanding Image Carousel in JavaScript. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Expanding-Image-Carousel-in-JavaScript.png","width":1280,"height":960,"caption":"Expanding Image Carousel in JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/carousel\/expanding-image-carousel-in-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Carousel","item":"https:\/\/codehim.com\/category\/carousel\/"},{"@type":"ListItem","position":3,"name":"Expanding Image Carousel in 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":1201,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9483","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=9483"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9483\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9491"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}