{"id":9562,"date":"2024-01-20T18:05:00","date_gmt":"2024-01-20T18:05:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9562"},"modified":"2024-01-22T16:05:49","modified_gmt":"2024-01-22T11:05:49","slug":"sales-tax-calculator-javascript","status":"publish","type":"post","link":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/","title":{"rendered":"Sales Tax Calculator JavaScript"},"content":{"rendered":"<p>This JavaScript code creates a user-friendly web-based calculator for calculating sales tax on products. It allows users to input product price and quantity, then automatically computes and displays the subtotal, tax, and total cost of the order. This tool simplifies the process of calculating sales tax, making it helpful for individuals or businesses managing pricing and taxation.<\/p>\n<p>You can use this code on your e-commerce website to provide customers with a straightforward sales tax calculation too. It helps simplify the tax calculation process, reducing user errors and saving time.<\/p>\n<h2>How to Create a Sales Tax Calculator Using JavaScript<\/h2>\n<p>1. First, copy the HTML code into your webpage within the <code>&lt;body&gt;<\/code> tags. This code creates the form structure necessary for user input.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;center&gt;\r\n&lt;div class =\"form\"&gt;\r\n\t\t&lt;h2&gt; Sales Tax Calculator&lt;\/h5&gt;\r\n\t\t&lt;form name=\"orderform\" id=\"orderform\"&gt;\r\n\t\t&lt;table&gt;\r\n&lt;\/div&gt;\r\n  &lt;tr&gt;&lt;th&gt;\r\n   &lt;label&gt;Product: &lt;\/label&gt;\r\n  &lt;\/th&gt;\r\n  &lt;th scope=\"row\"&gt;\r\n   &lt;div align=\"left\"&gt;\r\n    &lt;label&gt;&lt;span&gt;$&lt;\/span&gt;&lt;\/label&gt;\r\n    &lt;input name=\"price\" type=\"text\" id=\"price\" size=\"10\"&gt;\r\n   &lt;\/div&gt;\r\n  &lt;\/th&gt;\r\n\r\n  \r\n  &lt;tr&gt;&lt;th&gt;\r\n   &lt;label&gt;Quantity&lt;\/label&gt;\r\n  &lt;\/th&gt;\r\n  &lt;th scope=\"row\"&gt;\r\n   &lt;div align=\"left\"&gt;\r\n    &lt;label&gt;&lt;span&gt;#&lt;\/span&gt;&lt;\/label&gt;\r\n    &lt;input name=\"quantity\" type=\"text\" id=\"quantity\" size=\"10\"&gt;\r\n   &lt;\/div&gt;\r\n  &lt;\/th&gt;\r\n \r\n  &lt;tr&gt;&lt;th&gt;\r\n   &lt;label&gt;Subtotal:&lt;\/label&gt;\r\n  &lt;\/th&gt;\r\n  &lt;th scope=\"row\"&gt;   \r\n   &lt;div align=\"left\"&gt;\r\n    &lt;label&gt;$&lt;\/label&gt;\r\n    &lt;input name=\"subtotal\" type=\"text\" id=\"subtotal\" onFocus=\"this.form.elements[1].focus()\" size=\"10\"&gt; &amp;nbsp;&amp;nbsp;\r\n    &lt;input name=\"subBtn\" onClick=\"subTotal();\" type=\"button\" id=\"subBtn\" value=\"Subtotal\"&gt;\r\n   &lt;\/div&gt;\r\n  &lt;\/th&gt;\r\n &lt;\/tr&gt;\r\n  \r\n   &lt;tr&gt;&lt;th&gt;\r\n   &lt;label&gt;Tax:&lt;\/label&gt;\r\n  &lt;\/th&gt;\r\n   &lt;th scope=\"row\"&gt;\r\n   &lt;div align=\"left\"&gt;\r\n    &lt;label&gt;$&lt;\/label&gt;\r\n     &lt;input name=\"salestax\" type=\"text\" id=\"salestax\" onFocus=\"this.form.elements[1].focus()\" size=\"10\"&gt; &amp;nbsp;&amp;nbsp;               \r\n     &lt;input name=\"taxBtn\" onClick=\"calculateTax();\" type=\"button\" id=\"taxBtn\" value=\"Tax\"&gt;  \r\n   &lt;\/div&gt;\r\n  &lt;\/th&gt;\r\n &lt;\/tr&gt;\r\n \r\n  &lt;tr&gt;&lt;th&gt;\r\n   &lt;label&gt;Total:&lt;\/label&gt;\r\n  &lt;\/th&gt;\r\n  &lt;th scope=\"row\"&gt;\r\n   &lt;div align=\"left\"&gt;\r\n    &lt;label&gt;$&lt;\/label&gt;\r\n    &lt;input name=\"gtotal\" type=\"text\" id=\"gtotal\" onFocus=\"this.form.elements[2].focus()\" size=\"10\"&gt; &amp;nbsp;&amp;nbsp;\r\n    &lt;input name=\"gtotalBtn\" onClick=\"grandTotal();\" type=\"button\" id=\"gtotalBtn\" value=\"Calculate Order\"&gt;\r\n   &lt;\/div&gt;\r\n  &lt;\/th&gt;\r\n &lt;\/tr&gt;\r\n&lt;\/table&gt;\r\n&lt;\/form&gt;      \r\n&lt;\/div&gt;\r\n&lt;\/center&gt;\r\n<\/pre>\n<p>2. Add the CSS code to your stylesheet or within a <code>&lt;style&gt;<\/code> tag in the HTML. This CSS provides a visually appealing layout for the form and buttons.<\/p>\n<pre class=\"prettyprint linenums lang-css\">\r\ntable{\r\n  border-style: solid;\r\n  border-color: black;\r\n  border-width: 5px;\r\n  border-radius: 5px;\r\n  background-color: silver;\r\n}\r\n#subBtn{\r\n  border-style: solid;\r\n  border-color: black;\r\n  border-width: 2px;\r\n  border-radius: 5px;\r\n}\r\n#taxBtn{\r\n  border-style: solid;\r\n  border-color: black;\r\n  border-width: 2px;\r\n  border-radius: 5px;\r\n}\r\n#gtotalBtn{\r\n  border-style: solid;\r\n  border-color: black;\r\n  border-width: 2px;\r\n  border-radius: 5px;\r\n}<\/pre>\n<p>3. Finally, insert the JavaScript code within a &lt;script&gt; tag or an external JavaScript file. These functions enable the calculation of the subtotal, tax, and grand total.<\/p>\n<pre class=\"prettyprint linenums lang-js\">function subTotal() {\r\n  var price = document.orderform.price.value;\r\n  var quantity = document.orderform.quantity.value;\r\n  productPrice = price * quantity;\r\n  document.orderform.subtotal.value = productPrice.toFixed(2);\r\n  return productPrice;\r\n}\r\n\/\/calculateTax() takes result of subTotal function but has to refer to the result to move forward as opposed to the previous function\r\n\/\/.toFixed() is the decimal points\r\nfunction calculateTax() {\r\n  \/\/var subTotal = document.orderform.subtotal.value; OR for dryer code:\r\n  var subtotal = subTotal();\r\n  var stax = 0.03;\r\n    tax = subtotal * stax;\r\n  document.orderform.salestax.value = tax.toFixed(3);\r\n  return tax;\r\n}\r\n\/\/takes the HTML output results from the previous two functions and adds them together. \r\nfunction grandTotal() {\r\n  var subtotal = subTotal();\r\n  var tax = calculateTax();\r\n  document.orderform.subtotal.value = subtotal.toFixed(2);\r\n  document.orderform.salestax.value = tax.toFixed(2);\r\n  var gtotal = subtotal + tax;\r\n  document.orderform.gtotal.value = gtotal.toFixed(2);\r\n}<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created a Sales Tax Calculator using JavaScript. This tool simplifies the process for customers to calculate sales tax. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript code creates a user-friendly web-based calculator for calculating sales tax on products. It allows users to input product&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9577,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[116],"tags":[216],"class_list":["post-9562","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vanilla-javascript","tag-calculator"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Sales Tax Calculator JavaScript &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Sales Tax Calculator 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\/vanilla-javascript\/sales-tax-calculator-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sales Tax Calculator JavaScript &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Sales Tax Calculator JavaScript. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-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-20T18:05:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:05:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.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\/sales-tax-calculator-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Sales Tax Calculator JavaScript\",\"datePublished\":\"2024-01-20T18:05:00+00:00\",\"dateModified\":\"2024-01-22T11:05:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/\"},\"wordCount\":214,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.png\",\"keywords\":[\"Calculator\"],\"articleSection\":[\"Vanilla JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/\",\"url\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/\",\"name\":\"Sales Tax Calculator JavaScript &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.png\",\"datePublished\":\"2024-01-20T18:05:00+00:00\",\"dateModified\":\"2024-01-22T11:05:49+00:00\",\"description\":\"Here is a free code snippet to create a Sales Tax Calculator JavaScript. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.png\",\"width\":1280,\"height\":960,\"caption\":\"Sales Tax Calculator JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#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\":\"Sales Tax Calculator 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":"Sales Tax Calculator JavaScript &#8212; CodeHim","description":"Here is a free code snippet to create a Sales Tax Calculator 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\/vanilla-javascript\/sales-tax-calculator-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Sales Tax Calculator JavaScript &#8212; CodeHim","og_description":"Here is a free code snippet to create a Sales Tax Calculator JavaScript. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-20T18:05:00+00:00","article_modified_time":"2024-01-22T11:05:49+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.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\/sales-tax-calculator-javascript\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Sales Tax Calculator JavaScript","datePublished":"2024-01-20T18:05:00+00:00","dateModified":"2024-01-22T11:05:49+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/"},"wordCount":214,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.png","keywords":["Calculator"],"articleSection":["Vanilla JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/","url":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/","name":"Sales Tax Calculator JavaScript &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.png","datePublished":"2024-01-20T18:05:00+00:00","dateModified":"2024-01-22T11:05:49+00:00","description":"Here is a free code snippet to create a Sales Tax Calculator JavaScript. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Sales-Tax-Calculator-JavaScript.png","width":1280,"height":960,"caption":"Sales Tax Calculator JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/vanilla-javascript\/sales-tax-calculator-javascript\/#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":"Sales Tax Calculator 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":1507,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9562","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=9562"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9562\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9577"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}