{"id":8471,"date":"2024-01-11T17:50:00","date_gmt":"2024-01-11T17:50:00","guid":{"rendered":"https:\/\/codehim.com\/?p=8471"},"modified":"2024-01-22T15:51:48","modified_gmt":"2024-01-22T10:51:48","slug":"javascript-barcode-generator-code-with-example","status":"publish","type":"post","link":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/","title":{"rendered":"JavaScript Barcode Generator Code with Example"},"content":{"rendered":"<p>This JavaScript code snippet helps you to create a barcode generator tool for your web\/app project. It uses the JsBarcode library to help you generate barcodes quickly and easily. Whether you&#8217;re managing inventory, labeling products, or doing something else entirely, this code streamlines the process and adds value to your project.<\/p>\n<p>You can implement this Barcode Generator code in various web applications and projects where you need to generate barcodes dynamically based on user input. Furthermore, you can customize it to match your project&#8217;s design and specific barcode formatting needs.<\/p>\n<h2>How to Create Javascript Barcode Generator Code With Example<\/h2>\n<p>1. In your HTML file&#8217;s <code>&lt;head&gt;<\/code> section, include <a href=\"https:\/\/getbootstrap.com\/\" target=\"_blank\" rel=\"noopener\">Bootstrap CSS<\/a>, <a href=\"https:\/\/jquery.com\" target=\"_blank\" rel=\"noopener\">jQuery<\/a>, <a href=\"https:\/\/popper.js.org\/\" target=\"_blank\" rel=\"noopener\">Popper JS<\/a>, and <a href=\"https:\/\/www.npmjs.com\/package\/jsbarcode\" target=\"_blank\" rel=\"noopener\">JsBarcode<\/a>. These resources are essential for the barcode generator to work correctly. Here&#8217;s how to add them:<\/p>\n<pre class=\"prettyprint linenums lang-html\">  &lt;link rel=\"stylesheet\" href=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/4.1.3\/css\/bootstrap.min.css\"&gt;\r\n  &lt;script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.3.1\/jquery.min.js\"&gt;&lt;\/script&gt;\r\n  &lt;script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/popper.js\/1.14.3\/umd\/popper.min.js\"&gt;&lt;\/script&gt;\r\n  &lt;script src=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/4.1.3\/js\/bootstrap.min.js\"&gt;&lt;\/script&gt;\r\n  &lt;script src=\"https:\/\/cdn.jsdelivr.net\/jsbarcode\/3.6.0\/JsBarcode.all.min.js\"&gt;&lt;\/script&gt;\r\n  &lt;link rel=\"stylesheet\" href=\"https:\/\/use.fontawesome.com\/releases\/v5.6.1\/css\/all.css\" integrity=\"sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP\" crossorigin=\"anonymous\"&gt;<\/pre>\n<p>2. Create the HTML structure for your barcode generator form. In your HTML body, design the form where users can input the text for which they want to generate a barcode. Here&#8217;s a simple example:<\/p>\n<pre class=\"prettyprint linenums lang-html\"> &lt;nav class=\"navbar navbar-expand-md bg-dark navbar-dark\"&gt;\r\n  &lt;a class=\"navbar-brand\" href=\"#\"&gt;Barc &lt;i class=\"fab fa-osi\"&gt;&lt;\/i&gt;de&lt;\/a&gt;\r\n&lt;!--   &lt;button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#collapsibleNavbar\"&gt;\r\n    &lt;span class=\"navbar-toggler-icon\"&gt;&lt;\/span&gt;\r\n  &lt;\/button&gt;\r\n  &lt;div class=\"collapse navbar-collapse\" id=\"collapsibleNavbar\"&gt;\r\n    &lt;ul class=\"navbar-nav\"&gt;\r\n      &lt;li class=\"nav-item\"&gt;\r\n        &lt;a class=\"nav-link\" href=\"#\"&gt;Link&lt;\/a&gt;\r\n      &lt;\/li&gt;\r\n      &lt;li class=\"nav-item\"&gt;\r\n        &lt;a class=\"nav-link\" href=\"#\"&gt;Link&lt;\/a&gt;\r\n      &lt;\/li&gt;\r\n      &lt;li class=\"nav-item\"&gt;\r\n        &lt;a class=\"nav-link\" href=\"#\"&gt;Contact Me&lt;\/a&gt;\r\n      &lt;\/li&gt;    \r\n    &lt;\/ul&gt;\r\n  &lt;\/div&gt;   --&gt;\r\n&lt;\/nav&gt;\r\n  \r\n  &lt;div class=\"form-group w-75 mx-auto border py-4 px-2 rounded m-2 \"&gt;\r\n      &lt;label for=\"usr\"&gt;Enter Text :&lt;\/label&gt;\r\n      &lt;input type=\"text\" class=\"form-control\" id=\"usr\" name=\"username\"&gt;\r\n      &lt;a href=\"#\" class=\"btn btn-danger btn-lg mt-2\" id=\"btn\" onclick=\"go();\"&gt;Create barcode&lt;\/a&gt;\r\n  &lt;\/div&gt;\r\n  \r\n  \r\n  &lt;div class=\"mx-auto w-75 p-4 text-center\"&gt;\r\n&lt;!--     &lt;svg id=\"barcode\" &gt;&lt;\/svg&gt; --&gt;\r\n    \r\n    &lt;canvas id=\"barcode\" download &gt;\r\n\r\n    &lt;\/canvas&gt;\r\n    \r\n    &lt;br&gt;\r\n    &lt;a href=\"\" class=\"btn btn-danger btn-lg mt-2\" id=\"btn\" download=\"Barcode.jpg\" onclick=\"downloadBarCode(this);\"&gt;Download barcode&lt;\/a&gt;\r\n  &lt;\/div&gt;\r\n  \r\n  \r\n  \r\n  \r\n  &lt;\/div&gt;<\/pre>\n<p>3. Customize the CSS to style your barcode generator form as needed. You can modify the existing Bootstrap classes or add your own styles to match your project&#8217;s design.<\/p>\n<pre class=\"prettyprint linenums lang-css\">canvas{\r\n  width:100%;\r\n  \r\n}\r\n.cd__main{\r\n   display: block !important;\r\n}<\/pre>\n<p>4. Finally, initialize the barcode generator by adding the JavaScript functions.<\/p>\n<pre class=\"prettyprint linenums lang-js\">\/*document.getElementById(\"btn\").addEventListner(\"click\",function (){\r\nvar value = document.getElementById(\"usr\").value;\r\nJsBarcode(\"#barcode\", value);\r\n  \r\n  });*\/\r\n\r\nfunction go(){\r\n  \r\n  var value = document.getElementById(\"usr\").value;\r\n  JsBarcode(\"#barcode\", value);\r\n}\r\n\r\ndownloadBarCode =function (el){\r\n  var canvas = document.getElementById(\"barcode\");\r\n  var image = canvas.toDataURL(\"image\/jpg\");\r\n  el.href = image;\r\n};<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created a Barcode Generator on your website\/app. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript code snippet helps you to create a barcode generator tool for your web\/app project. It uses the JsBarcode&#8230;<\/p>\n","protected":false},"author":1,"featured_media":8476,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[97],"tags":[],"class_list":["post-8471","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-text-input"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript Barcode Generator Code with Example &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a JavaScript Barcode Generator 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\/text-input\/javascript-barcode-generator-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 Barcode Generator Code with Example &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a JavaScript Barcode Generator Code with Example. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-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-11T17:50:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:51:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"JavaScript Barcode Generator Code with Example\",\"datePublished\":\"2024-01-11T17:50:00+00:00\",\"dateModified\":\"2024-01-22T10:51:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/\"},\"wordCount\":240,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-Code-with-Example.png\",\"articleSection\":[\"Text &amp; Input\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/\",\"url\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/\",\"name\":\"JavaScript Barcode Generator Code with Example &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-Code-with-Example.png\",\"datePublished\":\"2024-01-11T17:50:00+00:00\",\"dateModified\":\"2024-01-22T10:51:48+00:00\",\"description\":\"Here is a free code snippet to create a JavaScript Barcode Generator Code with Example. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-Code-with-Example.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-Code-with-Example.png\",\"width\":1280,\"height\":960,\"caption\":\"JavaScript Barcode Generator Code with Example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text &amp; Input\",\"item\":\"https:\/\/codehim.com\/category\/text-input\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Barcode Generator 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 Barcode Generator Code with Example &#8212; CodeHim","description":"Here is a free code snippet to create a JavaScript Barcode Generator 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\/text-input\/javascript-barcode-generator-code-with-example\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Barcode Generator Code with Example &#8212; CodeHim","og_description":"Here is a free code snippet to create a JavaScript Barcode Generator Code with Example. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-11T17:50:00+00:00","article_modified_time":"2024-01-22T10:51:48+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"JavaScript Barcode Generator Code with Example","datePublished":"2024-01-11T17:50:00+00:00","dateModified":"2024-01-22T10:51:48+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/"},"wordCount":240,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-Code-with-Example.png","articleSection":["Text &amp; Input"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/","url":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/","name":"JavaScript Barcode Generator Code with Example &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-Code-with-Example.png","datePublished":"2024-01-11T17:50:00+00:00","dateModified":"2024-01-22T10:51:48+00:00","description":"Here is a free code snippet to create a JavaScript Barcode Generator Code with Example. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-Code-with-Example.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/JavaScript-Barcode-Generator-Code-with-Example.png","width":1280,"height":960,"caption":"JavaScript Barcode Generator Code with Example"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/text-input\/javascript-barcode-generator-code-with-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Text &amp; Input","item":"https:\/\/codehim.com\/category\/text-input\/"},{"@type":"ListItem","position":3,"name":"JavaScript Barcode Generator 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":2205,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/8471","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=8471"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/8471\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/8476"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=8471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=8471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=8471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}