diff --git a/index.css b/index.css index 58a8d0b..c74cd90 100644 --- a/index.css +++ b/index.css @@ -1,6 +1,7 @@ body { - font-family: "m5x7", Helvetica, Arial, sans-serif; +/* font-family: "m5x7", Helvetica, Arial, sans-serif; */ } + .svg-icon { width: 1.25em; height: 1.25em; diff --git a/index.html b/index.html index 25d408c..f4259a5 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@
-

To-Do List

+

To-Do List

@@ -54,4 +54,4 @@
- \ No newline at end of file + diff --git a/index.js b/index.js index fb662ed..ec2a43d 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ const key = "checklist-items"; -const objs = JSON.parse(window.localStorage.getItem(key)); +const objs = JSON.parse(window.localStorage.getItem(key) || "{}"); let currentId = 0; const save = () => { @@ -117,4 +117,4 @@ const load = () => { -window.addEventListener('load', load); \ No newline at end of file +window.addEventListener('load', load);