Fixes
This commit is contained in:
parent
8c375ec517
commit
2501a693e1
3 changed files with 6 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
body {
|
body {
|
||||||
font-family: "m5x7", Helvetica, Arial, sans-serif;
|
/* font-family: "m5x7", Helvetica, Arial, sans-serif; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.svg-icon {
|
.svg-icon {
|
||||||
width: 1.25em;
|
width: 1.25em;
|
||||||
height: 1.25em;
|
height: 1.25em;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1 class="text-center">To-Do List</h1>
|
<h1 style="font-size: 3rem;" class="text-center">To-Do List</h1>
|
||||||
|
|
||||||
<div id="checklist"></div>
|
<div id="checklist"></div>
|
||||||
|
|
||||||
|
|
|
||||||
2
index.js
2
index.js
|
|
@ -1,5 +1,5 @@
|
||||||
const key = "checklist-items";
|
const key = "checklist-items";
|
||||||
const objs = JSON.parse(window.localStorage.getItem(key));
|
const objs = JSON.parse(window.localStorage.getItem(key) || "{}");
|
||||||
let currentId = 0;
|
let currentId = 0;
|
||||||
|
|
||||||
const save = () => {
|
const save = () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue