text: (()=>{"use strict";var e={426:(e,r,n)=>{n.d(r,{Z:()=>i});var t=n(645),o=n.n(t)()((function(e){return e[1]}));o.push([e.id,"body {\r\n  background-color: beige;\r\n}\r\n\r\n.container {\r\n  width: 25%;\r\n  background-color: white;\r\n  height: 500px;\r\n  border: 1px solid darkgray;\r\n  margin: 5em auto;\r\n  border-radius: 10px;\r\n}\r\n\r\n.header {\r\n  display: flex;\r\n  border-bottom: 1px solid beige;\r\n  justify-content: space-evenly;\r\n  background-color: blue;\r\n  color: white;\r\n  font-size: 20px;\r\n}\r\n\r\n.fas {\r\n  margin-top: 28px;\r\n}\r\n\r\n.add-to-do {\r\n  margin-left: 10px;\r\n  margin-bottom: 2em;\r\n}\r\n\r\n#input {\r\n  border: none;\r\n  font-size: 20px;\r\n  width: 357px;\r\n  padding-left: 18px;\r\n}\r\n\r\n.content {\r\n  height: 58%;\r\n}\r\n\r\n.footer {\r\n  text-align: center;\r\n  padding: 1px;\r\n  font-size: 20px;\r\n  background-color: blue;\r\n  color: white;\r\n}\r\n\r\n#list {\r\n  list-style-type: none;\r\n}\r\n\r\n.text {\r\n  margin: 0;\r\n  width: 19em;\r\n}\r\n\r\n.item {\r\n  display: flex;\r\n  justify-content: space-between;\r\n}\r\n\r\n.fa-trash-alt {\r\n  margin-right: 35px;\r\n}\r\n",""]);const i=o},645:e=>{e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var n=e(r);return r[2]?"@media ".concat(r[2]," {").concat(n,"}"):n})).join("")},r.i=function(e,n,t){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(t)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);t&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),r.push(s))}},r}},379:e=>{var r=[];function n(e){for(var n=-1,t=0;t<r.length;t++)if(r[t].identifier===e){n=t;break}return n}function t(e,t){for(var i={},a=[],c=0;c<e.length;c++){var s=e[c],d=t.base?s[0]+t.base:s[0],u=i[d]||0,l="".concat(d," ").concat(u);i[d]=u+1;var f=n(l),p={css:s[1],media:s[2],sourceMap:s[3]};-1!==f?(r[f].references++,r[f].updater(p)):r.push({identifier:l,updater:o(p,t),references:1}),a.push(l)}return a}function o(e,r){var n=r.domAPI(r);return n.update(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;n.update(e=r)}else n.remove()}}e.exports=function(e,o){var i=t(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var c=n(i[a]);r[c].references--}for(var s=t(e,o),d=0;d<i.length;d++){var u=n(i[d]);0===r[u].references&&(r[u].updater(),r.splice(u,1))}i=s}}},569:e=>{var r={};e.exports=function(e,n){var t=function(e){if(void 0===r[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}r[e]=n}return r[e]}(e);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(n)}},216:e=>{e.exports=function(e){var r=document.createElement("style");return e.setAttributes(r,e.attributes),e.insert(r),r}},565:(e,r,n)=>{e.exports=function(e){var r=n.nc;r&&e.setAttribute("nonce",r)}},795:e=>{e.exports=function(e){var r=e.insertStyleElement(e);return{update:function(n){!function(e,r,n){var t=n.css,o=n.media,i=n.sourceMap;o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),r.styleTagTransform(t,e)}(r,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)}}}},589:e=>{e.exports=function(e,r){if(r.styleSheet)r.styleSheet.cssText=e;else{for(;r.firstChild;)r.removeChild(r.firstChild);r.appendChild(document.createTextNode(e))}}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={id:t,exports:{}};return e[t](i,i.exports,n),i.exports}n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e=n(379),r=n.n(e),t=n(795),o=n.n(t),i=n(569),a=n.n(i),c=n(565),s=n.n(c),d=n(216),u=n.n(d),l=n(589),f=n.n(l),p=n(426),m={};m.styleTagTransform=f(),m.setAttributes=s(),m.insert=a().bind(null,"head"),m.domAPI=o(),m.insertStyleElement=u(),r()(p.Z,m),p.Z&&p.Z.locals&&p.Z.locals,document.querySelector(".fa-reply").addEventListener("click",(()=>{console.log("Lets drink coffee")}));const h=document.querySelector("#todo-list");[{completed:!0,description:"Drink a coffee",index:0},{completed:!1,description:"Do JavaScript project",index:1}].forEach((e=>{const r=document.createElement("li");r.innerHTML='<i class="far fa-square"></i>',r.innerText=e.description,h.append(r)}))})()})();