{"id":9320,"date":"2024-01-14T18:01:00","date_gmt":"2024-01-14T18:01:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9320"},"modified":"2024-01-22T16:02:18","modified_gmt":"2024-01-22T11:02:18","slug":"javascript-link-preview-on-hover","status":"publish","type":"post","link":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/","title":{"rendered":"JavaScript Link Preview on Hover"},"content":{"rendered":"<p>The JavaScript code snippet helps you to preview the link on hover. When you hover over a link, it reveals an image, title, and description in a card. This feature helps users quickly preview linked content without clicking.<\/p>\n<p>You can use this code in your web project to provide a convenient link preview feature. Moreover, you can customize the preview card with additional CSS according to your website&#8217;s design.<\/p>\n<h2>How to Create Link Preview On Hover Using JavaScript<\/h2>\n<p>1. To get started, add the HTML structure to your webpage. Inside a <code>&lt;section&gt;<\/code>, create links that you want to have link previews for. Each link should have the class &#8220;link-with-preview&#8221; and <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn\/HTML\/Howto\/Use_data_attributes\" target=\"_blank\" rel=\"noopener\">custom data attributes<\/a> for image, title, and text.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;section&gt;\r\n\t&lt;h1&gt;Link Preview&lt;\/h1&gt;\r\n\t&lt;p&gt;\r\n\t\tOnce upon a time there were two\r\n\t\t&lt;a href=\"https:\/\/www.codepen.io\/wildtype\" target=\"_blank\" onmouseover=\"showLinkPreview()\" onmouseleave=\"hideLinkPreview()\" class=\"link-with-preview\" data-image=\"https:\/\/images.unsplash.com\/photo-1587042538225-e30d1247eddd?ixlib=rb-1.2.1&amp;ixid=eyJhcHBfaWQiOjEyMDd9&amp;auto=format&amp;fit=crop&amp;w=500&amp;q=60\" data-title=\"Mountain Friends &#x1f3d4;\" data-text=\"Introduced by their tectonic plate neighbors when they were very young.\"&gt;\r\n\t\t\tmountain friends\r\n\t\t&lt;\/a&gt;\r\n\t\twith a\r\n\t\t&lt;a href=\"https:\/\/www.codepen.io\/wildtype\" target=\"_blank\" onmouseover=\"showLinkPreview()\" onmouseleave=\"hideLinkPreview()\" class=\"link-with-preview\" data-image=\"https:\/\/images.unsplash.com\/photo-1506355683710-bd071c0a5828?ixlib=rb-1.2.1&amp;ixid=eyJhcHBfaWQiOjEyMDd9&amp;auto=format&amp;fit=crop&amp;w=500&amp;q=60\" data-title=\"Raging River &#x1f30a;\" data-text=\"With the exception that this one is not very exciting.\"&gt;raging river\r\n\t\t&lt;\/a&gt;\r\n\t\tbetween. That's the end of\r\n\t\t&lt;a href=\"https:\/\/www.codepen.io\/wildtype\" target=\"_blank\" onmouseover=\"showLinkPreview()\" onmouseleave=\"hideLinkPreview()\" class=\"link-with-preview\" data-image=\"https:\/\/images.unsplash.com\/photo-1516202180772-d888b16cf6dd?ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=500&amp;q=80\" data-title=\"Our Story\" data-text=\"Looking at all these pictures makes me really not want to be inside right now.\"&gt;our story&lt;\/a&gt;.\r\n\t&lt;\/p&gt;\r\n\r\n\t&lt;div class=\"card\"&gt;\r\n\t\t&lt;img src=\"\" class=\"card-img-top\" \/&gt;\r\n\t\t&lt;div class=\"card-body\"&gt;\r\n\t\t\t&lt;h5 class=\"card-title\"&gt;&lt;\/h5&gt;\r\n\t\t\t&lt;p class=\"card-text\"&gt;&lt;\/p&gt;\r\n\t\t&lt;\/div&gt;\r\n\t&lt;\/div&gt;\r\n&lt;\/section&gt;<\/pre>\n<p>2. Apply some CSS to style the link previews and the card that will display the preview information. Customize the appearance to match your website&#8217;s design.<\/p>\n<pre class=\"prettyprint linenums lang-css\">:root {\r\n\tfont-size: 16px;\r\n}\r\n\r\nbody {\r\n\tfont-size: 24px;\r\n\tfont-family: sans-serif;\r\n}\r\n\r\nh1 {\r\n\tfont-weight: 600;\r\n\tline-height: 1.5;\r\n}\r\n\r\nsection a {\r\n\tcolor: rgb(255, 144, 85);\r\n}\r\n\r\nsection a:hover {\r\n\ttext-decoration: none;\r\n\tcolor: rgb(255, 180, 89);\r\n}\r\n\r\n.card {\r\n       background: #fff;\r\n\twidth: 15rem;\r\n\tdisplay: none;\r\n\tfont-size: 1rem;\r\n\tcolor: black;\r\n\tposition: absolute;\r\n\tz-index: 100;\r\n\tbottom: 30px;\r\n\tleft: 50%;\r\n\ttransform: translateX(-50%);\r\n       box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.35);\r\n}\r\n\r\n.link-with-preview {\r\n\tposition: relative;\r\n}\r\n\r\n.card img {\r\n\twidth: 15rem;\r\n}\r\n\r\n.card-title {\r\n\tfont-size: 1.25rem;\r\n}\r\n.card-title,\r\n.card-text{\r\n    padding: 12px;\r\n}\r\n@media (max-width: 600px) {\r\n\t:root {\r\n\t\tfont-size: 10px;\r\n\t}\r\n\th1 {\r\n\t\tfont-size: 4rem;\r\n\t}\r\n}<\/pre>\n<p>3. Finally, copy and paste the following JavaScript code into your website&#8217;s JavaScript file. This code defines functions for showing and hiding link previews and adds event listeners to the links.<\/p>\n<pre class=\"prettyprint linenums lang-js\">const card = document.querySelector(\".card\");\r\n\r\nconst hideLinkPreview = () =&gt; card.style.display = \"none\";\r\n\r\nconst showLinkPreview = e =&gt; {\r\n  const image = e.currentTarget.getAttribute(\"data-image\");\r\n  card.querySelector(\"img\").setAttribute(\"src\", image);\r\n\r\n  const title = e.currentTarget.getAttribute(\"data-title\");\r\n  card.querySelector(\"h5\").textContent = title;\r\n\r\n  const text = e.currentTarget.getAttribute(\"data-text\");\r\n  card.querySelector(\"p\").textContent = text;\r\n\r\n  e.currentTarget.appendChild(card);\r\n\r\n  return card.style.display = \"inline-block\";\r\n};\r\n\r\ndocument.querySelectorAll(\".link-with-preview\").forEach(el =&gt; {\r\n  el.addEventListener(\"mouseover\", showLinkPreview);\r\n  el.addEventListener(\"mouseleave\", hideLinkPreview);\r\n});<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created a link preview feature on your website. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The JavaScript code snippet helps you to preview the link on hover. When you hover over a link, it reveals&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9338,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[116],"tags":[],"class_list":["post-9320","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vanilla-javascript"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript Link Preview on Hover &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a JavaScript Link Preview on Hover. 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\/vanilla-javascript\/javascript-link-preview-on-hover\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Link Preview on Hover &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a JavaScript Link Preview on Hover. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/\" \/>\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-14T18:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:02:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.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\/vanilla-javascript\/javascript-link-preview-on-hover\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"JavaScript Link Preview on Hover\",\"datePublished\":\"2024-01-14T18:01:00+00:00\",\"dateModified\":\"2024-01-22T11:02:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/\"},\"wordCount\":206,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.png\",\"articleSection\":[\"Vanilla JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/\",\"url\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/\",\"name\":\"JavaScript Link Preview on Hover &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.png\",\"datePublished\":\"2024-01-14T18:01:00+00:00\",\"dateModified\":\"2024-01-22T11:02:18+00:00\",\"description\":\"Here is a free code snippet to create a JavaScript Link Preview on Hover. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.png\",\"width\":1280,\"height\":960,\"caption\":\"JavaScript Link Preview on Hover\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vanilla JavaScript\",\"item\":\"https:\/\/codehim.com\/category\/vanilla-javascript\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Link Preview on Hover\"}]},{\"@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 Link Preview on Hover &#8212; CodeHim","description":"Here is a free code snippet to create a JavaScript Link Preview on Hover. 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\/vanilla-javascript\/javascript-link-preview-on-hover\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Link Preview on Hover &#8212; CodeHim","og_description":"Here is a free code snippet to create a JavaScript Link Preview on Hover. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-14T18:01:00+00:00","article_modified_time":"2024-01-22T11:02:18+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.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\/vanilla-javascript\/javascript-link-preview-on-hover\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"JavaScript Link Preview on Hover","datePublished":"2024-01-14T18:01:00+00:00","dateModified":"2024-01-22T11:02:18+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/"},"wordCount":206,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.png","articleSection":["Vanilla JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/","url":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/","name":"JavaScript Link Preview on Hover &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.png","datePublished":"2024-01-14T18:01:00+00:00","dateModified":"2024-01-22T11:02:18+00:00","description":"Here is a free code snippet to create a JavaScript Link Preview on Hover. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Link-Preview-on-Hover.png","width":1280,"height":960,"caption":"JavaScript Link Preview on Hover"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-link-preview-on-hover\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Vanilla JavaScript","item":"https:\/\/codehim.com\/category\/vanilla-javascript\/"},{"@type":"ListItem","position":3,"name":"JavaScript Link Preview on Hover"}]},{"@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":1683,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9320","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=9320"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9320\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9338"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}