{"id":6771,"date":"2024-01-10T17:47:00","date_gmt":"2024-01-10T17:47:00","guid":{"rendered":"https:\/\/codehim.com\/?p=6771"},"modified":"2024-01-22T15:48:19","modified_gmt":"2024-01-22T10:48:19","slug":"simple-todo-list-using-javascript","status":"publish","type":"post","link":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/","title":{"rendered":"Simple Todo List using JavaScript"},"content":{"rendered":"<p>This JavaScript code snippet helps you to create a simple todo list. It comes with a simple interface to add task with title and its content. The added task can be deleted after done.<\/p>\n<h2>How to Create Simple Todo List using JavaScript<\/h2>\n<p>1. First of all, create the HTML structure as follows:<\/p>\n<pre class=\"prettyprint linenums lang-html\">  &lt;div class=\"todo\"&gt;\r\n    &lt;section&gt;\r\n        &lt;h1&gt;Todo list&lt;\/h1&gt;\r\n        &lt;form id=\"form\"&gt;\r\n            &lt;p&gt;\r\n                &lt;label for=\"title\"&gt;\r\n                    &lt;span&gt;Title &lt;strong&gt;&lt;abbr title=\"required\"&gt;*&lt;\/abbr&gt;&lt;\/strong&gt;&lt;\/span&gt;\r\n                    &lt;input type=\"text\" id=\"title\" name=\"title\"  \/&gt;\r\n                &lt;\/label&gt;\r\n            &lt;\/p&gt;\r\n            &lt;p&gt;\r\n                &lt;label for=\"content\"&gt;\r\n                    &lt;span&gt;Content &lt;\/span&gt;\r\n                    &lt;input type=\"text\" id=\"content\" name=\"content\" \/&gt;\r\n                &lt;\/label&gt;\r\n            &lt;\/p&gt;\r\n            &lt;p&gt;\r\n                &lt;button id=\"add-task\" type=\"button\"&gt;Add task&lt;\/button&gt;\r\n            &lt;\/p&gt;\r\n        &lt;\/form&gt;\r\n    &lt;\/section&gt;\r\n&lt;\/div&gt;\r\n&lt;div id=\"todos\"&gt;&lt;\/div&gt;<\/pre>\n<p>2. After that, add the following CSS styles to your project:<\/p>\n<pre class=\"prettyprint linenums lang-css\">@import url(https:\/\/fonts.googleapis.com\/css?family=Open+Sans:400,700);\r\n*, *:before, *:after {\r\n  -moz-box-sizing: border-box;\r\n  -webkit-box-sizing: border-box;\r\n  box-sizing: border-box;\r\n}\r\n\r\nbody {\r\n  background-color: #99B2B7;\r\n  font-family: \"Open Sans\", sans-serif;\r\n  font-size: 1em;\r\n}\r\n\r\nsection {\r\n  background-color: #D5DED9;\r\n  padding: 30px;\r\n  margin-bottom: 10px;\r\n  overflow: hidden;\r\n  max-width: 800px;\r\n}\r\nsection:nth-child(even) {\r\n  background-color: white;\r\n}\r\n\r\nh1,\r\nh2 {\r\n  font-weight: 200;\r\n  font-size: 4em;\r\n  margin: 0 0 0.5em;\r\n  color: #99B2B7;\r\n}\r\n\r\nh2 {\r\n  font-size: 2em;\r\n}\r\n\r\nbutton {\r\n  border: 2px solid #99B2B7;\r\n  background-color: transparent;\r\n  padding: 10px 20px;\r\n  cursor: pointer;\r\n  font-size: 1.25em;\r\n  color: #99B2B7;\r\n  margin-top: 20px;\r\n  text-transform: uppercase;\r\n  text-align: center;\r\n  float: right;\r\n  -webkit-transition: all 0.3s;\r\n  -moz-transition: all 0.3s;\r\n  -ms-transition: all 0.3s;\r\n  -o-transition: all 0.3s;\r\n  transition: all 0.3s;\r\n}\r\nbutton:hover, button:focus {\r\n  background-color: #99B2B7;\r\n  color: #D5DED9;\r\n}\r\n\r\nlabel {\r\n  font-weight: bold;\r\n}\r\nlabel span {\r\n  margin-bottom: 5px;\r\n  display: block;\r\n}\r\nlabel span strong {\r\n  color: #dd6666;\r\n}\r\n\r\ninput {\r\n  padding: 20px;\r\n  width: 100%;\r\n  border: 1px solid #99B2B7;\r\n  border-radius: 0;\r\n  font-size: 1em;\r\n}\r\ninput.error {\r\n  border-color: #dd6666;\r\n}<\/pre>\n<p>3. Finally, add the following JavaScript code and done.<\/p>\n<pre class=\"prettyprint linenums lang-js\">(function() {\r\n    \"use strict\";\r\n\r\n    var todoApp = (function() {\r\n        document.addEventListener(\"DOMContentLoaded\", function() {\r\n            init();\r\n        });\r\n\r\n        var init = function() {\r\n            document.getElementById(\"add-task\").addEventListener(\"click\", function() {\r\n                var newTitle = document.getElementById(\"title\").value,\r\n                    newContent = document.getElementById(\"content\").value;\r\n                if (validate(newTitle)) {\r\n                    addTodo(newTitle, newContent);\r\n                }\r\n            }, false);\r\n\r\n            document.getElementById(\"todos\").addEventListener(\"click\", function(e) {\r\n                if (e.target &amp;&amp; e.target.nodeName == \"BUTTON\") {\r\n                    deleteTodo(e.target.parentNode);\r\n                }\r\n            }, false);\r\n        };\r\n\r\n        var validate = function(newTitle, newContent) {\r\n            if (newTitle.length === 0) {\r\n                var target = document.getElementById(\"title\");\r\n                target.className = target.className + \" error\";\r\n                return false;\r\n            } else {\r\n                return true;\r\n            }\r\n        };\r\n\r\n        var addTodo = function(title, content) {\r\n            var newTodo = document.createElement(\"section\"),\r\n                h2 = document.createElement(\"h2\"),\r\n                newTitle = document.createTextNode(title),\r\n                p = document.createElement(\"p\"),\r\n                newContent = document.createTextNode(content),\r\n                button = document.createElement(\"button\"),\r\n                deleteBtn = document.createTextNode(\"delete\");\r\n\r\n            h2.appendChild(newTitle);\r\n            newTodo.appendChild(h2);\r\n            p.appendChild(newContent);\r\n            newTodo.appendChild(p);\r\n            button.appendChild(deleteBtn);\r\n            newTodo.appendChild(button);\r\n\r\n            document.getElementById(\"todos\").appendChild(newTodo);\r\n            document.getElementById(\"form\").reset();\r\n        };\r\n\r\n        var deleteTodo = function(todo) {\r\n            todo.parentNode.removeChild(todo);\r\n        };\r\n    }());\r\n}());<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully integrated this todo list code snippet into your project. If you have any questions or facing any issues, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript code snippet helps you to create a simple todo list. It comes with a simple interface to add&#8230;<\/p>\n","protected":false},"author":1,"featured_media":6791,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[97],"tags":[225],"class_list":["post-6771","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-text-input","tag-to-do-list"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Simple Todo List using JavaScript &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"This code snippet helps you to create simple todo list using JavaScript. You can view demo and download 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\/simple-todo-list-using-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Simple Todo List using JavaScript &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"This code snippet helps you to create simple todo list using JavaScript. You can view demo and download source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-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-10T17:47:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:48:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.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\/simple-todo-list-using-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Simple Todo List using JavaScript\",\"datePublished\":\"2024-01-10T17:47:00+00:00\",\"dateModified\":\"2024-01-22T10:48:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/\"},\"wordCount\":104,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.png\",\"keywords\":[\"To-Do List\"],\"articleSection\":[\"Text &amp; Input\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/\",\"url\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/\",\"name\":\"Simple Todo List using JavaScript &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.png\",\"datePublished\":\"2024-01-10T17:47:00+00:00\",\"dateModified\":\"2024-01-22T10:48:19+00:00\",\"description\":\"This code snippet helps you to create simple todo list using JavaScript. You can view demo and download source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.png\",\"width\":1280,\"height\":960,\"caption\":\"Simple Todo List using JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#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\":\"Simple Todo List using 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":"Simple Todo List using JavaScript &#8212; CodeHim","description":"This code snippet helps you to create simple todo list using JavaScript. You can view demo and download 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\/simple-todo-list-using-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Simple Todo List using JavaScript &#8212; CodeHim","og_description":"This code snippet helps you to create simple todo list using JavaScript. You can view demo and download source code.","og_url":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-10T17:47:00+00:00","article_modified_time":"2024-01-22T10:48:19+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.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\/simple-todo-list-using-javascript\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Simple Todo List using JavaScript","datePublished":"2024-01-10T17:47:00+00:00","dateModified":"2024-01-22T10:48:19+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/"},"wordCount":104,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.png","keywords":["To-Do List"],"articleSection":["Text &amp; Input"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/","url":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/","name":"Simple Todo List using JavaScript &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.png","datePublished":"2024-01-10T17:47:00+00:00","dateModified":"2024-01-22T10:48:19+00:00","description":"This code snippet helps you to create simple todo list using JavaScript. You can view demo and download source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/Simple-Todo-List-using-Java.png","width":1280,"height":960,"caption":"Simple Todo List using JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/text-input\/simple-todo-list-using-javascript\/#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":"Simple Todo List using 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":6456,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/6771","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=6771"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/6771\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/6791"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=6771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=6771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=6771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}