{"id":6440,"date":"2024-01-11T16:40:00","date_gmt":"2024-01-11T16:40:00","guid":{"rendered":"https:\/\/codehim.com\/?p=6440"},"modified":"2024-01-22T14:44:02","modified_gmt":"2024-01-22T09:44:02","slug":"to-do-list-project-in-javascript","status":"publish","type":"post","link":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/","title":{"rendered":"To Do List Project in JavaScript"},"content":{"rendered":"<p>This JavaScript project helps you to create a to do list to add\/remove tasks. It comes with a decent interface to add tasks and mark them as done. Users can also clear the task list with one click.<\/p>\n<h2>How to Create To Do List Project in 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=\"phone\"&gt;\r\n  &lt;div class=\"header\"&gt;\r\n    &lt;h2&gt;Pure JS Todo&lt;\/h2&gt;\r\n    &lt;p&gt;Revisiting the beauty of pure javascript&lt;\/p&gt;\r\n  \r\n    &lt;div class=\"removeText\"&gt;&#x1f5d1; Clean Checked Tasks&lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"todo-body\"&gt;\r\n    &lt;ul class=\"todo-list\"&gt;\r\n      &lt;li class=\"todo-item\"&gt;&lt;input type=\"checkbox\"\/&gt; Welcome to your todo list&lt;\/li&gt;\r\n    &lt;\/ul&gt;\r\n  &lt;\/div&gt;\r\n  &lt;input type=\"text\" class=\"todoInput\" placeholder=\"Enter a task and press enter\"\/&gt;\r\n&lt;\/div&gt;\r\n&lt;!-- partial --&gt;\r\n  &lt;script  src=\".\/js\/script.js\"&gt;&lt;\/script&gt;<\/pre>\n<p>2. After that, add the following CSS styles to your project:<\/p>\n<pre class=\"prettyprint linenums lang-css\">*{\r\n  margin:0;\r\n  padding:0 ;\r\n  box-sizing: border-box !important;\r\n}\r\n body {\r\n    font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;\r\n   background: #f4f4f4;\r\n}\r\n\r\n.phone{\r\n  position:relative;\r\n  margin:4% auto;\r\n  width:360px;\r\n  height:660px;\r\n  border:1px solid #e6e6e6;\r\n  border-radius:8px;\r\n  overflow:hidden;\r\n  background:#fff;\r\n}\r\n\r\n.header{\r\n  position:relative;\r\n  padding:25px;\r\n  width:100%;\r\n  background: linear-gradient(to right, #ff416c, #ff4b2b); \r\n  color:#ffffff;\r\n  line-height:28px !important;\r\n}\r\n.removeText{\r\n  font-weight:bolder;\r\n  cursor:pointer;\r\n  padding:4px 15px;\r\n  display:inline;\r\n  border-radius:30px;\r\n  text-align:center;\r\n  border:1px solid #fff;\r\n}\r\n\r\n.header p{\r\n  font-size:14px; \r\n}\r\n\r\n.todo-body{\r\n  position:relative;  \r\n  width:100%;\r\n  height:500px;\r\n  overflow-y:scroll;\r\n}\r\n\r\n.todo-body::-webkit-scrollbar{\r\n    background:transparent;\r\n  width:1px;\r\n}\r\n.todo-list{\r\n    list-style:none;\r\n}\r\n\r\n.todo-list .todo-item{\r\n    padding:20px;\r\n    border-bottom:1px solid #e7e7e7;\r\n    color:#717171;\r\n}\r\n\r\n.todo-item.checked{\r\n  text-decoration: line-through;\r\n}\r\n\r\ninput[type=\"checkbox\"]{\r\n    position:relative;\r\n    top:3px;\r\n    margin-right:10px;\r\n    width:17px;\r\n    height:17px;\r\n\r\n}\r\n\r\n.todoInput{\r\n  position:absolute;\r\n  bottom:0;\r\n  left:0;\r\n  padding:20px;\r\n  width:100%;\r\n  border:0;\r\n  border-top: 1px solid #e7e7e7;\r\n}<\/pre>\n<p>3. Finally, add the following JavaScript code and done.<\/p>\n<pre class=\"prettyprint linenums lang-js\">class TodoList {\r\n    constructor() {\r\n        this.todos = new Map();\r\n        this.todoContainer = document.querySelector(\".todo-body\");\r\n        this.todoList = document.querySelector(\".todo-list\");\r\n        this.todoInput = document.querySelector(\".todoInput\");\r\n        this.removeButton = document.querySelector(\".removeText\");\r\n        this.bindEvents();\r\n    }\r\n\r\n    bindEvents() {\r\n        this.todoInput.onkeyup = (e) =&gt; {\r\n            if (e.keyCode === 13) {\r\n                this.addTodo(e.target.value);\r\n                this.todoInput.value = \"\";\r\n            }\r\n        }\r\n\r\n        this.todoList.onmouseup = (e) =&gt; {\r\n            if (e.target.checked !== undefined) {\r\n                let id = e.target.getAttribute(\"data-key\");\r\n                this.markTodo(id, e.target.checked);\r\n            }\r\n        }\r\n        this.removeButton.onclick = this.clean.bind(this);\r\n    }\r\n    markTodo(id, isChecked) {\r\n        let obj = this.todos.get(id);\r\n        obj.checked = !isChecked;\r\n        this.todos.set(id, obj);\r\n        this.render();\r\n    }\r\n    addTodo(text = \"Blank Task\") {\r\n        let id = Date.now() + \"\";\r\n        this.todos.set(id, {\r\n            id: id,\r\n            text: text,\r\n            checked: false\r\n        });\r\n        this.render();\r\n    }\r\n    clean() {\r\n        this.todos.forEach((todo, key) =&gt; {\r\n            if (todo.checked) {\r\n                this.todos.delete(key)\r\n            }\r\n        });\r\n        this.render();\r\n    }\r\n    template(item, id) {\r\n        return (`&lt;li class=\"todo-item ${(item.checked ? \"checked\" : \"\")}\" data-key=\"${id}\"&gt;&lt;input type=\"checkbox\" data-key=\"${id}\" ${(item.checked ? \"checked\" : \"\")}\/&gt; ${ item.text }&lt;\/li&gt;`);\r\n    }\r\n    render() {\r\n        let todoElements = [];\r\n        this.todos.forEach((item, key) =&gt; {\r\n            todoElements.push(this.template(item, key))\r\n        });\r\n\r\n        this.todoList.innerHTML = todoElements.join(\" \")\r\n    }\r\n\r\n}\r\n\r\nif (document.readyState === \"complete\" || document.addEventListener) {\r\n    const List = new TodoList();\r\n}<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully integrated this to do 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 project helps you to create a to do list to add\/remove tasks. It comes with a decent interface&#8230;<\/p>\n","protected":false},"author":1,"featured_media":6446,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[116],"tags":[225],"class_list":["post-6440","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vanilla-javascript","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>To Do List Project in JavaScript &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a lightweight JavaScript project to create to do list to add and remove tasks. 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\/vanilla-javascript\/to-do-list-project-in-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"To Do List Project in JavaScript &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a lightweight JavaScript project to create to do list to add and remove tasks. You can view demo and download source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-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-11T16:40:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T09:44:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.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\/vanilla-javascript\/to-do-list-project-in-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"To Do List Project in JavaScript\",\"datePublished\":\"2024-01-11T16:40:00+00:00\",\"dateModified\":\"2024-01-22T09:44:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/\"},\"wordCount\":112,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.png\",\"keywords\":[\"To-Do List\"],\"articleSection\":[\"Vanilla JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/\",\"url\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/\",\"name\":\"To Do List Project in JavaScript &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.png\",\"datePublished\":\"2024-01-11T16:40:00+00:00\",\"dateModified\":\"2024-01-22T09:44:02+00:00\",\"description\":\"Here is a lightweight JavaScript project to create to do list to add and remove tasks. You can view demo and download source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.png\",\"width\":1280,\"height\":960,\"caption\":\"To Do List Project in JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-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\":\"To Do List Project in 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":"To Do List Project in JavaScript &#8212; CodeHim","description":"Here is a lightweight JavaScript project to create to do list to add and remove tasks. 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\/vanilla-javascript\/to-do-list-project-in-javascript\/","og_locale":"en_US","og_type":"article","og_title":"To Do List Project in JavaScript &#8212; CodeHim","og_description":"Here is a lightweight JavaScript project to create to do list to add and remove tasks. You can view demo and download source code.","og_url":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/","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:44:02+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.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\/vanilla-javascript\/to-do-list-project-in-javascript\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"To Do List Project in JavaScript","datePublished":"2024-01-11T16:40:00+00:00","dateModified":"2024-01-22T09:44:02+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/"},"wordCount":112,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.png","keywords":["To-Do List"],"articleSection":["Vanilla JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/","url":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/","name":"To Do List Project in JavaScript &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.png","datePublished":"2024-01-11T16:40:00+00:00","dateModified":"2024-01-22T09:44:02+00:00","description":"Here is a lightweight JavaScript project to create to do list to add and remove tasks. You can view demo and download source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-javascript\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/05\/www.codehim-1.png","width":1280,"height":960,"caption":"To Do List Project in JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/vanilla-javascript\/to-do-list-project-in-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":"To Do List Project in 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":2112,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/6440","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=6440"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/6440\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/6446"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=6440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=6440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=6440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}