Fixes
This commit is contained in:
parent
8c375ec517
commit
2501a693e1
3 changed files with 6 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<body>
|
||||
<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>
|
||||
|
||||
|
|
@ -54,4 +54,4 @@
|
|||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
4
index.js
4
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);
|
||||
window.addEventListener('load', load);
|
||||
|
|
|
|||
Loading…
Reference in a new issue