{"id":9518,"date":"2024-01-09T18:03:00","date_gmt":"2024-01-09T18:03:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9518"},"modified":"2024-01-22T16:05:06","modified_gmt":"2024-01-22T11:05:06","slug":"javascript-modal-popup-code-with-example","status":"publish","type":"post","link":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/","title":{"rendered":"JavaScript Modal Popup Code with Example"},"content":{"rendered":"<p>In this JavaScript Modal Popup Code with Example, we&#8217;ll create a simple modal popup using HTML, CSS, and JavaScript. When you click the &#8220;Open Modal&#8221; button, the modal with some content will appear on the screen. You can close the modal by clicking the close button or anywhere outside the modal. The code showcases how to use event listeners to control the visibility of the modal and overlay elements.<\/p>\n<h2>How to Create JavaScript Modal Popup<\/h2>\n<p>1. Let&#8217;s start by creating the basic HTML structure. We need a button to open the modal, the modal container itself, and an <a href=\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/\" target=\"_blank\" rel=\"noopener\">overlay to cover the background<\/a> when the modal is open.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"overlay\"&gt;\r\n  \r\n&lt;\/div&gt;\r\n\r\n&lt;div class=\"modal\"&gt;\r\n  &lt;h1&gt;This is modal&lt;\/h1&gt;\r\n  &lt;p&gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur rem ipsa deserunt modi vitae quis minima, atque autem saepe corporis!&lt;\/p&gt;\r\n  &lt;p&gt;Lorem ipsum dolor, sit amet consectetur adipisicing elit. Nostrum tempora illum, eius, minima quo dolorem repellat assumenda error quae inventore fugiat aliquid eos culpa. Tempora vel doloribus rerum, reiciendis at natus eum labore quas tempore, exercitationem alias. Dignissimos, tenetur aut!&lt;\/p&gt;\r\n  &lt;button class=\"modal__button-close\"&gt;\r\n  &lt;\/button&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;button type=\"button\" class=\"modal__button-open\"&gt;Open Modal&lt;\/button&gt;<\/pre>\n<p>2. Now, let&#8217;s style our modal and make it visually appealing. We&#8217;ll use CSS to achieve this. Here&#8217;s a snippet of the essential CSS styles:<\/p>\n<pre class=\"prettyprint linenums lang-css\">@import url('https:\/\/fonts.googleapis.com\/css?family=PT+Sans:400,700');\r\n\r\n* {\r\n  margin: 0;\r\n  padding: 0;\r\n  box-sizing: border-box;\r\n}\r\n\r\nhtml {\r\n  height: 100%;\r\n}\r\n\r\nbody { \r\n  font-family: 'PT Sans', sans-serif;\r\n  background-color: #567;\r\n\r\n}\r\n\r\n\r\n.modal {\r\n  background-color: orange;\r\n  width: 50%;\r\n  position: fixed;\r\n  top: 50%;\r\n  left: 50%;\r\n  transform: translate(-50%, -50%);\r\n  padding: 50px;\r\n  box-shadow: 0px 0px 30px rgba(0,0,0,.3);\r\n  word-wrap: break-word;\r\n  transform-origin: center;\r\n  transition: opacity .4s ease-out, visibility .4s, transform .4s ;\r\n}\r\n\r\nh1 {\r\n  padding: 20px;\r\n}\r\n\r\np {\r\n  text-indent: 20px;\r\n  margin-bottom: 20px;\r\n}\r\n\r\n.overlay {\r\n  position: fixed;\r\n  background-color: rgba(0,0,0,.3);\r\n  width: 100%;\r\n  height: 100%;\r\n  backdrop-filter: blur(5px);\r\n  transition: opacity .4s ease-out, visibility .4s;\r\n  top: 0;\r\n  left: 0;\r\n}\r\n\r\n.modal__button-close {\r\n  background-color: transparent;\r\n  border: none;\r\n  color: #fff;\r\n  padding: 10px;\r\n  width: 50px;\r\n  height: 50px;\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: center;\r\n  position: absolute;\r\n  right: 5px;\r\n  top: 5px;\r\n  cursor: pointer;\r\n  transition: color .2s;\r\n}\r\n\r\n.modal__button-close::before {\r\n  content: '';\r\n  display: block;\r\n  width: 100%;\r\n  height: 3px;\r\n  background-color: currentColor;\r\n  box-shadow: 0px 10px 0px currentColor, 0px -10px 0px currentColor;\r\n}\r\n\r\n.modal__button-close:hover,\r\n.modal__button-close:active {\r\n  color: rgba(255, 255, 255, .7);\r\n}\r\n\r\n\r\n\r\n.modal--closed,\r\n.overlay--hidden {\r\n  visibility: hidden;\r\n  opacity: 0;\r\n  z-index: -10;\r\n}\r\n\r\n.modal--closed {\r\n  transform: translate(-50%, -50%) scale(.2);\r\n}\r\n\r\n\r\n.modal__button-open {\r\n  border: none;\r\n  background-color: transparent;\r\n  text-transform: uppercase;\r\n  font-weight: 700;\r\n  color: #fff;\r\n  padding: 20px;\r\n  border-radius: 12px;\r\n  font-size: 28px;\r\n  cursor: pointer;\r\n  border: 3px solid orange;\r\n  transition: background-color .2s ease-out;\r\n  \r\n}\r\n.modal__button-open:focus {\r\n  outline: none;\r\n}\r\n.modal__button-open:hover,\r\n.modal__button-open:active {\r\n  background-color: orange;\r\n}<\/pre>\n<p>Feel free to customize the colors, fonts, and dimensions according to your design preferences.<\/p>\n<p>3. To make the modal interactive, we&#8217;ll use JavaScript. We&#8217;ll create a JavaScript file and add the following code:<\/p>\n<pre class=\"prettyprint linenums lang-js\">const modal = document.querySelector('.modal')\r\nconst overlay = document.querySelector('.overlay')\r\nconst modalCloseButton = document.querySelector('.modal__button-close')\r\nconst modalOpenButton = document.querySelector('.modal__button-open')\r\n\r\nfunction showModal() {\r\n  modal.classList.toggle('modal--closed')\r\n  overlay.classList.toggle('overlay--hidden')\r\n}\r\n\r\n\r\nmodalCloseButton.addEventListener('click', showModal)\r\nmodalOpenButton.addEventListener('click', showModal)\r\noverlay.addEventListener('click', showModal)<\/pre>\n<p>Now that you have a working modal, you can customize it further to suit your specific needs. Modify the content, style, and behavior to make it perfect for your project.<\/p>\n<p>That&#8217;s all! hopefully, you have successfully integrated this JavaScript Modal Popup code example into your project. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this JavaScript Modal Popup Code with Example, we&#8217;ll create a simple modal popup using HTML, CSS, and JavaScript. When&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9531,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[44],"tags":[],"class_list":["post-9518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-modal"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript Modal Popup Code with Example &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a JavaScript Modal Popup Code with Example. 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\/modal\/javascript-modal-popup-code-with-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Modal Popup Code with Example &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a JavaScript Modal Popup Code with Example. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/\" \/>\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:05:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.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\/modal\/javascript-modal-popup-code-with-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"JavaScript Modal Popup Code with Example\",\"datePublished\":\"2024-01-09T18:03:00+00:00\",\"dateModified\":\"2024-01-22T11:05:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/\"},\"wordCount\":235,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.png\",\"articleSection\":[\"Modal\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/\",\"url\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/\",\"name\":\"JavaScript Modal Popup Code with Example &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.png\",\"datePublished\":\"2024-01-09T18:03:00+00:00\",\"dateModified\":\"2024-01-22T11:05:06+00:00\",\"description\":\"Here is a free code snippet to create a JavaScript Modal Popup Code with Example. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.png\",\"width\":1280,\"height\":960,\"caption\":\"JavaScript Modal Popup Code with Example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Modal\",\"item\":\"https:\/\/codehim.com\/category\/modal\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Modal Popup Code with Example\"}]},{\"@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":"JavaScript Modal Popup Code with Example &#8212; CodeHim","description":"Here is a free code snippet to create a JavaScript Modal Popup Code with Example. 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\/modal\/javascript-modal-popup-code-with-example\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Modal Popup Code with Example &#8212; CodeHim","og_description":"Here is a free code snippet to create a JavaScript Modal Popup Code with Example. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/","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:05:06+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.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\/modal\/javascript-modal-popup-code-with-example\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"JavaScript Modal Popup Code with Example","datePublished":"2024-01-09T18:03:00+00:00","dateModified":"2024-01-22T11:05:06+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/"},"wordCount":235,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.png","articleSection":["Modal"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/","url":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/","name":"JavaScript Modal Popup Code with Example &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.png","datePublished":"2024-01-09T18:03:00+00:00","dateModified":"2024-01-22T11:05:06+00:00","description":"Here is a free code snippet to create a JavaScript Modal Popup Code with Example. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Modal-Popup-Code-with-Example.png","width":1280,"height":960,"caption":"JavaScript Modal Popup Code with Example"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/modal\/javascript-modal-popup-code-with-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Modal","item":"https:\/\/codehim.com\/category\/modal\/"},{"@type":"ListItem","position":3,"name":"JavaScript Modal Popup Code with Example"}]},{"@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":1771,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9518","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=9518"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9518\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9531"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}