This commit is contained in:
oitsjustjose 2023-06-24 04:51:55 +00:00
commit 2501a693e1
3 changed files with 6 additions and 5 deletions

View file

@ -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;

View file

@ -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>

View file

@ -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);