{"id":10004,"date":"2024-01-10T18:13:00","date_gmt":"2024-01-10T18:13:00","guid":{"rendered":"https:\/\/codehim.com\/?p=10004"},"modified":"2024-01-22T16:14:18","modified_gmt":"2024-01-22T11:14:18","slug":"sticky-notes-javascript-source-code","status":"publish","type":"post","link":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/","title":{"rendered":"Sticky Notes JavaScript Source Code"},"content":{"rendered":"<p>This JavaScript source code helps you to create draggable sticky notes on a webpage. The code lets you add and drag sticky notes freely across the page. It allows you to input titles and text for each note and easily delete them. This functionality makes organizing information or reminders interactive and visual.<\/p>\n<h2>How to Create Sticky Notes Javascript Source Code<\/h2>\n<p>1. First of all, add the necessary HTML structure to your webpage. Include a container for the sticky notes and a form to input titles and text for new notes. Use the given classes and IDs as shown in the code.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div id=\"stickies-container\"&gt;&lt;\/div&gt;\r\n        &lt;div class=\"sticky-form\"&gt;\r\n            &lt;label for=\"stickytitle\"&gt;Title for your sticky:&lt;\/label&gt;\r\n            &lt;input type=\"text\" name=\"stickytitle\" id=\"stickytitle\" \/&gt;\r\n            &lt;label for=\"stickytext\"&gt;Write something down:&lt;\/label&gt;\r\n            &lt;textarea\r\n                name=\"stickytext\"\r\n                id=\"stickytext\"\r\n                cols=\"24\"\r\n                rows=\"10\"\r\n            &gt;&lt;\/textarea&gt;\r\n            &lt;button class=\"button\" id=\"createsticky\"&gt;Stick it!&lt;\/button&gt;\r\n        &lt;\/div&gt;<\/pre>\n<p>2. Use the following CSS styles to design the appearance of the sticky notes and the form. The CSS defines the colors, sizes, and positioning for the sticky notes and their form.<\/p>\n<pre class=\"prettyprint linenums lang-css\">html {\r\n  box-sizing: border-box;\r\n  font-family: 'Courier New', Courier, monospace;\r\n}\r\nbody {\r\n  background: linear-gradient(to left bottom, #41d8dd, #5583ee) !important;\r\n  min-height: 100vh;\r\n  height: 100%;\r\n  margin: 0;\r\n  position: relative;\r\n  \/* overflow: hidden; *\/\r\n}\r\n#stickies-container {\r\n  padding: 1rem;\r\n}\r\n.drag {\r\n  -webkit-touch-callout: none;\r\n  -webkit-user-select: none;\r\n  -khtml-user-select: none;\r\n  -moz-user-select: none;\r\n  -ms-user-select: none;\r\n  user-select: none;\r\n}\r\n.sticky {\r\n  background: linear-gradient(to left bottom, #d4fc78, #99e5a2);\r\n  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);\r\n  color: #00243f;\r\n  \/* 0 0 150px rgba(0, 0, 0, 0.2); *\/\r\n  cursor: grab;\r\n  display: inline-block;\r\n  padding: 1rem;\r\n  position: absolute;\r\n  width: 12.5rem;\r\n}\r\n.sticky h3,\r\n.sticky p {\r\n  \/* color: #0065b3; *\/\r\n  color: #00243f;\r\n  pointer-events: none;\r\n}\r\n.sticky h3 {\r\n  border-bottom: dashed 2px #0085e8;\r\n  margin: 0 0 1rem;\r\n  min-height: 1.3rem;\r\n  padding: 0 1.5rem 0.25rem 0;\r\n}\r\n.sticky p {\r\n  margin: 0;\r\n  min-height: 9rem;\r\n}\r\n.sticky .deletesticky {\r\n  color: #0085e8;\r\n  cursor: pointer;\r\n  font-size: 2rem;\r\n  position: absolute;\r\n  right: 0.8rem;\r\n  top: 0.4rem;\r\n}\r\n\r\n.sticky-form {\r\n  bottom: 1rem;\r\n  position: absolute;\r\n  right: 1rem;\r\n}\r\n.sticky-form label,\r\n.sticky-form input,\r\n.sticky-form textarea {\r\n  color: #fff;\r\n  display: block;\r\n}\r\n.sticky-form input,\r\n.sticky-form textarea {\r\n  background-color: #f0f9ff44;\r\n  background-clip: padding-box;\r\n  border: 2px dashed #0065b3;\r\n  border-radius: 0.25rem;\r\n  color: #00243f;\r\n  font-family: 'Courier New', Courier, monospace;\r\n  font-size: 1rem;\r\n  font-weight: 400;\r\n  line-height: 1.5;\r\n  margin-bottom: 0.75rem;\r\n  padding: 0.375rem 0.75rem;\r\n  width: calc(100% - 1.5rem);\r\n}\r\n.sticky-form input:focus,\r\n.sticky-form textarea:focus {\r\n  border: 2px dashed #ffffff;\r\n  outline: none;\r\n}\r\nbutton.button {\r\n  -moz-user-select: none;\r\n  -ms-user-select: none;\r\n  -webkit-user-select: none;\r\n  background-color: #d4fc78;\r\n  border-radius: 0.25rem;\r\n  border: 1px solid transparent;\r\n  color: #0065b3;\r\n  display: inline-block;\r\n  font-family: 'Courier New', Courier, monospace;\r\n  font-size: 1rem;\r\n  font-weight: 600;\r\n  line-height: 1.5;\r\n  padding: 0.375rem 0.75rem;\r\n  text-align: center;\r\n  user-select: none;\r\n  vertical-align: middle;\r\n}<\/pre>\n<p>3. Finally, implement the JavaScript functionality to enable the creation, dragging, and deletion of sticky notes. Place the following JavaScript code within a <code>&lt;script&gt;<\/code> tag at the end of the HTML file or in an external JavaScript file. Make sure the JavaScript is executed after the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Document\/DOMContentLoaded_event\" target=\"_blank\" rel=\"noopener\">DOM content is loaded<\/a> using an event listener (<code>DOMContentLoaded<\/code>).<\/p>\n<pre class=\"prettyprint linenums lang-js\">'use strict';\r\ndocument.addEventListener('DOMContentLoaded', () =&gt; {\r\nconst stickyArea = document.querySelector(\r\n'#stickies-container'\r\n);\r\n\r\nconst createStickyButton = document.querySelector(\r\n'#createsticky'\r\n);\r\n\r\nconst stickyTitleInput = document.querySelector('#stickytitle');\r\nconst stickyTextInput = document.querySelector('#stickytext');\r\n\r\nconst deleteSticky = e =&gt; {\r\ne.target.parentNode.remove();\r\n};\r\n\r\nlet isDragging = false;\r\nlet dragTarget;\r\n\r\nlet lastOffsetX = 0;\r\nlet lastOffsetY = 0;\r\n\r\nfunction drag(e) {\r\nif (!isDragging) return;\r\n\r\n\/\/ console.log(lastOffsetX);\r\n\r\ndragTarget.style.left = e.clientX - lastOffsetX + 'px';\r\ndragTarget.style.top = e.clientY - lastOffsetY + 'px';\r\n}\r\n\r\nfunction createSticky() {\r\nconst newSticky = document.createElement('div');\r\nconst html = `&lt;h3&gt;${stickyTitleInput.value.replace(\r\n\/&lt;\\\/?[^&gt;]+(&gt;|$)\/g,\r\n''\r\n)}&lt;\/h3&gt;&lt;p&gt;${stickyTextInput.value\r\n.replace(\/&lt;\\\/?[^&gt;]+(&gt;|$)\/g, '')\r\n.replace(\r\n\/\\r\\n|\\r|\\n\/g,\r\n'&lt;br \/&gt;'\r\n)}&lt;\/p&gt;&lt;span class=\"deletesticky\"&gt;&amp;times;&lt;\/span&gt;`;\r\nnewSticky.classList.add('drag', 'sticky');\r\nnewSticky.innerHTML = html;\r\n\/\/newSticky.style.backgroundColor = randomColor();\r\nstickyArea.append(newSticky);\r\npositionSticky(newSticky);\r\napplyDeleteListener();\r\nclearStickyForm();\r\n}\r\nfunction clearStickyForm() {\r\nstickyTitleInput.value = '';\r\nstickyTextInput.value = '';\r\n}\r\nfunction positionSticky(sticky) {\r\nsticky.style.left =\r\nwindow.innerWidth \/ 2 -\r\nsticky.clientWidth \/ 2 +\r\n(-100 + Math.round(Math.random() * 50)) +\r\n'px';\r\nsticky.style.top =\r\nwindow.innerHeight \/ 2 -\r\nsticky.clientHeight \/ 2 +\r\n(-100 + Math.round(Math.random() * 50)) +\r\n'px';\r\n}\r\n\r\nfunction editSticky() {}\r\n\r\nfunction stripHtml(text) {\r\nreturn text.replace(\/&lt;\\\/?[^&gt;]+(&gt;|$)\/g, '');\r\n}\r\n\r\nfunction randomColor() {\r\nconst r = 200 + Math.floor(Math.random() * 56);\r\nconst g = 200 + Math.floor(Math.random() * 56);\r\nconst b = 200 + Math.floor(Math.random() * 56);\r\nreturn 'rgb(' + r + ',' + g + ',' + b + ')';\r\n}\r\n\r\nfunction applyDeleteListener() {\r\nlet deleteStickyButtons = document.querySelectorAll(\r\n'.deletesticky'\r\n);\r\ndeleteStickyButtons.forEach(dsb =&gt; {\r\ndsb.removeEventListener('click', deleteSticky, false);\r\ndsb.addEventListener('click', deleteSticky);\r\n});\r\n}\r\n\r\nwindow.addEventListener('mousedown', e =&gt; {\r\nif (!e.target.classList.contains('drag')) {\r\nreturn;\r\n}\r\ndragTarget = e.target;\r\ndragTarget.parentNode.append(dragTarget);\r\nlastOffsetX = e.offsetX;\r\nlastOffsetY = e.offsetY;\r\n\/\/ console.log(lastOffsetX, lastOffsetY);\r\nisDragging = true;\r\n});\r\nwindow.addEventListener('mousemove', drag);\r\nwindow.addEventListener('mouseup', () =&gt; (isDragging = false));\r\n\r\ncreateStickyButton.addEventListener('click', createSticky);\r\napplyDeleteListener();\r\n});\r\n<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully integrated this sticky notes JavaScript code into your project. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript source code helps you to create draggable sticky notes on a webpage. The code lets you add and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":10006,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[116],"tags":[],"class_list":["post-10004","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","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>Sticky Notes JavaScript Source Code &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Sticky Notes JavaScript Source Code. 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\/sticky-notes-javascript-source-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sticky Notes JavaScript Source Code &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Sticky Notes JavaScript Source Code. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/\" \/>\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-10T18:13:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:14:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.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\/sticky-notes-javascript-source-code\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Sticky Notes JavaScript Source Code\",\"datePublished\":\"2024-01-10T18:13:00+00:00\",\"dateModified\":\"2024-01-22T11:14:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/\"},\"wordCount\":216,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.png\",\"articleSection\":[\"Vanilla JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/\",\"url\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/\",\"name\":\"Sticky Notes JavaScript Source Code &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.png\",\"datePublished\":\"2024-01-10T18:13:00+00:00\",\"dateModified\":\"2024-01-22T11:14:18+00:00\",\"description\":\"Here is a free code snippet to create a Sticky Notes JavaScript Source Code. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.png\",\"width\":1280,\"height\":960,\"caption\":\"Sticky Notes JavaScript Source Code\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#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\":\"Sticky Notes JavaScript Source Code\"}]},{\"@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":"Sticky Notes JavaScript Source Code &#8212; CodeHim","description":"Here is a free code snippet to create a Sticky Notes JavaScript Source Code. 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\/sticky-notes-javascript-source-code\/","og_locale":"en_US","og_type":"article","og_title":"Sticky Notes JavaScript Source Code &#8212; CodeHim","og_description":"Here is a free code snippet to create a Sticky Notes JavaScript Source Code. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-10T18:13:00+00:00","article_modified_time":"2024-01-22T11:14:18+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.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\/sticky-notes-javascript-source-code\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Sticky Notes JavaScript Source Code","datePublished":"2024-01-10T18:13:00+00:00","dateModified":"2024-01-22T11:14:18+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/"},"wordCount":216,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.png","articleSection":["Vanilla JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/","url":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/","name":"Sticky Notes JavaScript Source Code &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.png","datePublished":"2024-01-10T18:13:00+00:00","dateModified":"2024-01-22T11:14:18+00:00","description":"Here is a free code snippet to create a Sticky Notes JavaScript Source Code. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Sticky-Notes-JavaScript-Source-Code.png","width":1280,"height":960,"caption":"Sticky Notes JavaScript Source Code"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/vanilla-javascript\/sticky-notes-javascript-source-code\/#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":"Sticky Notes JavaScript Source Code"}]},{"@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":960,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10004","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=10004"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10004\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/10006"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=10004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=10004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=10004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}