{"id":5584,"date":"2024-01-11T16:40:00","date_gmt":"2024-01-11T16:40:00","guid":{"rendered":"https:\/\/codehim.com\/?p=5584"},"modified":"2024-01-22T14:45:16","modified_gmt":"2024-01-22T09:45:16","slug":"javascript-search-box-for-table","status":"publish","type":"post","link":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/","title":{"rendered":"19+ JavaScript Search Box for Table Example &#038; Tutorial"},"content":{"rendered":"<p>This JavaScript code snippet helps you to create a <a href=\"https:\/\/codehim.com\/bootstrap\/bootstrap-forms\/bootstrap-4-search-box-with-icon\/\" target=\"_blank\" rel=\"noopener\">search box<\/a> for HTML table to filter table data. You can use this code to filter\/search table data for multiple tables on a single page. It can be easily attached to your existing table by creating input (for search) with a data-table attribute.<\/p>\n<p>It doesn&#8217;t matter how many rows and columns you have in your HTML table. This lightweight Vanilla JavaScript plugin searches through all rows\/columns and displays the matched result.<\/p>\n<h2>How to Create JavaScript Search Box for Table<\/h2>\n<p>1. First of all, create an input element with a class name &#8220;table-filter&#8221; for the search box and create your table element with a class name &#8220;table&#8221;.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;section class=\"container cd-table-container\"&gt;\r\n  &lt;h2 class=\"cd-title\"&gt;Search Table Record:&lt;\/h2&gt;\r\n  &lt;input type=\"text\" class=\"cd-search table-filter\" data-table=\"order-table\" placeholder=\"Item to filter..\" \/&gt;\r\n\r\n  &lt;table class=\"cd-table table\"&gt;\r\n    &lt;thead&gt;\r\n      &lt;tr&gt;\r\n        &lt;th&gt;Name&lt;\/th&gt;\r\n        &lt;th&gt;Email&lt;\/th&gt;\r\n        &lt;th&gt;Phone&lt;\/th&gt;\r\n        &lt;th&gt;ID&lt;\/th&gt;\r\n      &lt;\/tr&gt;\r\n    &lt;\/thead&gt;\r\n\r\n    &lt;tbody&gt;\r\n      &lt;tr&gt;\r\n        &lt;td&gt;Your data goes here...&lt;\/td&gt;\r\n        &lt;td&gt;Email goes here...&lt;\/td&gt;\r\n        &lt;td&gt;Phone number goes here...&lt;\/td&gt;\r\n        &lt;td&gt;ID goes here...&lt;\/td&gt;\r\n      &lt;\/tr&gt;\r\n        .\r\n        .\r\n        .\r\n        .\r\n        .\r\n      &lt;tr&gt;\r\n        &lt;td&gt;Your data goes here...&lt;\/td&gt;\r\n        &lt;td&gt;Email goes here...&lt;\/td&gt;\r\n        &lt;td&gt;Phone number goes here...&lt;\/td&gt;\r\n        &lt;td&gt;ID goes here...&lt;\/td&gt;\r\n      &lt;\/tr&gt;\r\n    &lt;\/tbody&gt;\r\n  &lt;\/table&gt;\r\n&lt;\/section&gt;\r\n<\/pre>\n<p>2. If you want to create a search box for your existing HTML table, then you only need to create <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Element\/input\" target=\"_blank\" rel=\"noopener\">an input element<\/a>. So, create the input and set the class name of your table to the <code>\"data-table\"<\/code> attribute.<\/p>\n<pre class=\"prettyprint linenums lang-html\">  &lt;input type=\"text\" class=\"cd-search table-filter\" data-table=\"your-table\" placeholder=\"Item to filter..\" \/&gt;\r\n<\/pre>\n<p>3. Basically, the CSS styles are optional for the table. Anyhow, you can use the following CSS styles if you want to style the table.<\/p>\n<pre class=\"prettyprint linenums lang-css\">.cd-table-container{\r\n  background: #fff;\r\n  box-shadow: 1px 2px 26px rgba(0, 0, 0, 0.2);\r\n  padding: 15px;\r\n  max-width: 720px;\r\n}\r\n\/* Table Design *\/\r\n.cd-table{\r\n  width: 100%;\r\n  color: #666;\r\n  margin: 10px auto;\r\n  border-collapse: collapse;\r\n}\r\n\r\n.cd-table tr,\r\n.cd-table td{\r\n  border: 1px solid #ccc;\r\n  padding: 10px;\r\n}\r\n.cd-table th{\r\n  background: #017721;\r\n  color: #fff;\r\n  padding: 10px;\r\n}\r\n\r\n\/* Search Box *\/\r\n.cd-search{\r\n  padding: 10px;\r\n  border: 1px solid #ccc;\r\n  width: 100%;\r\n  box-sizing: border-box;\r\n}\r\n\r\n\/* Search Title *\/\r\n.cd-title{\r\n  color: #666;\r\n  margin: 15px 0;\r\n}\r\n<\/pre>\n<p>4. Finally, add the following JavaScript function into your project for table search filter and done.<\/p>\n<pre class=\"prettyprint linenums lang-js\">(function() {\r\n\t'use strict';\r\n\r\nvar TableFilter = (function() {\r\n var Arr = Array.prototype;\r\n\t\tvar input;\r\n  \r\n\t\tfunction onInputEvent(e) {\r\n\t\t\tinput = e.target;\r\n\t\t\tvar table1 = document.getElementsByClassName(input.getAttribute('data-table'));\r\n\t\t\tArr.forEach.call(table1, function(table) {\r\n\t\t\t\tArr.forEach.call(table.tBodies, function(tbody) {\r\n\t\t\t\t\tArr.forEach.call(tbody.rows, filter);\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction filter(row) {\r\n\t\t\tvar text = row.textContent.toLowerCase();\r\n       \/\/console.log(text);\r\n      var val = input.value.toLowerCase();\r\n      \/\/console.log(val);\r\n\t\t\trow.style.display = text.indexOf(val) === -1 ? 'none' : 'table-row';\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tinit: function() {\r\n\t\t\t\tvar inputs = document.getElementsByClassName('table-filter');\r\n\t\t\t\tArr.forEach.call(inputs, function(input) {\r\n\t\t\t\t\tinput.oninput = onInputEvent;\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t};\r\n \r\n\t})();\r\n\r\n  \/*console.log(document.readyState);\r\n\tdocument.addEventListener('readystatechange', function() {\r\n\t\tif (document.readyState === 'complete') {\r\n      console.log(document.readyState);\r\n\t\t\tTableFilter.init();\r\n\t\t}\r\n\t}); *\/\r\n  \r\n TableFilter.init(); \r\n})();\r\n<\/pre>\n<p>That&#8217;s all! hopefully, you successfully integrated this JavaScript search filter plugin into your project. If you have any questions or suggestions, let me know by comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript code snippet helps you to create a search box for HTML table to filter table data. You can&#8230;<\/p>\n","protected":false},"author":1,"featured_media":5587,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[97,116],"tags":[],"class_list":["post-5584","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-text-input","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>19+ JavaScript Search Box for Table Example &amp; Tutorial &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a lightweight JavaScript plugin to create a search box for a table to filter table data. View demo download code for table search.\" \/>\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-search-box-for-table\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"19+ JavaScript Search Box for Table Example &amp; Tutorial &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a lightweight JavaScript plugin to create a search box for a table to filter table data. View demo download code for table search.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/\" \/>\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-11T16:40:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T09:45:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.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-search-box-for-table\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"19+ JavaScript Search Box for Table Example &#038; Tutorial\",\"datePublished\":\"2024-01-11T16:40:00+00:00\",\"dateModified\":\"2024-01-22T09:45:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/\"},\"wordCount\":228,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.png\",\"articleSection\":[\"Text &amp; Input\",\"Vanilla JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/\",\"url\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/\",\"name\":\"19+ JavaScript Search Box for Table Example & Tutorial &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.png\",\"datePublished\":\"2024-01-11T16:40:00+00:00\",\"dateModified\":\"2024-01-22T09:45:16+00:00\",\"description\":\"Here is a lightweight JavaScript plugin to create a search box for a table to filter table data. View demo download code for table search.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.png\",\"width\":1280,\"height\":960,\"caption\":\"JavaScript Search Box for Table\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#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\":\"19+ JavaScript Search Box for Table Example &#038; Tutorial\"}]},{\"@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":"19+ JavaScript Search Box for Table Example & Tutorial &#8212; CodeHim","description":"Here is a lightweight JavaScript plugin to create a search box for a table to filter table data. View demo download code for table search.","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-search-box-for-table\/","og_locale":"en_US","og_type":"article","og_title":"19+ JavaScript Search Box for Table Example & Tutorial &#8212; CodeHim","og_description":"Here is a lightweight JavaScript plugin to create a search box for a table to filter table data. View demo download code for table search.","og_url":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-11T16:40:00+00:00","article_modified_time":"2024-01-22T09:45:16+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.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-search-box-for-table\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"19+ JavaScript Search Box for Table Example &#038; Tutorial","datePublished":"2024-01-11T16:40:00+00:00","dateModified":"2024-01-22T09:45:16+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/"},"wordCount":228,"commentCount":10,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.png","articleSection":["Text &amp; Input","Vanilla JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/","url":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/","name":"19+ JavaScript Search Box for Table Example & Tutorial &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.png","datePublished":"2024-01-11T16:40:00+00:00","dateModified":"2024-01-22T09:45:16+00:00","description":"Here is a lightweight JavaScript plugin to create a search box for a table to filter table data. View demo download code for table search.","breadcrumb":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2021\/09\/javascript-search-box-for-table.png","width":1280,"height":960,"caption":"JavaScript Search Box for Table"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/vanilla-javascript\/javascript-search-box-for-table\/#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":"19+ JavaScript Search Box for Table Example &#038; Tutorial"}]},{"@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":25123,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/5584","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=5584"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/5584\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/5587"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=5584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=5584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=5584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}