diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..bfbbe25
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,5 @@
+{
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
+ "editor.cursorBlinking": "smooth",
+ "editor.formatOnSave": true
+}
\ No newline at end of file
diff --git a/src/lib/apps/todoApp.svelte b/src/lib/apps/todoApp.svelte
index 9b30943..f0476ee 100644
--- a/src/lib/apps/todoApp.svelte
+++ b/src/lib/apps/todoApp.svelte
@@ -1,204 +1,211 @@
-
-
todo
-
-
-
-
-
-
-
-
-
-
-
+
+
todo
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+ /* active buttons */
+ .todo button:active {
+ background-color: var(--yellow);
+ border-color: var(--yellow);
+ }
+ .todo.done button:active {
+ background-color: var(--yellow);
+ border-color: var(--yellow);
+ }
+
diff --git a/src/lib/components/footer.svelte b/src/lib/components/footer.svelte
index 7c0ac5f..d56ff37 100644
--- a/src/lib/components/footer.svelte
+++ b/src/lib/components/footer.svelte
@@ -1,14 +1,15 @@
\ No newline at end of file
+ footer {
+ margin: 1em;
+ padding: 1em;
+ }
+
diff --git a/src/lib/components/nav.svelte b/src/lib/components/nav.svelte
index 30988ec..7a650b1 100644
--- a/src/lib/components/nav.svelte
+++ b/src/lib/components/nav.svelte
@@ -1,21 +1,20 @@
\ No newline at end of file
+ nav {
+ margin: 1em;
+ padding: 1em;
+ display: flex;
+ }
+ .nav-button {
+ padding: 8px;
+ border-bottom: solid 1px black;
+ }
+
diff --git a/src/lib/stores/todos.js b/src/lib/stores/todos.js
index a87e34b..5b4c0fe 100644
--- a/src/lib/stores/todos.js
+++ b/src/lib/stores/todos.js
@@ -1,31 +1,31 @@
import { onMount } from 'svelte';
-import { writable } from "svelte/store";
+import { writable } from 'svelte/store';
const localStore = (key, initial) => {
- const toString = (value) => JSON.stringify(value, null, 2);
- const toObject = JSON.parse;
+ const toString = (value) => JSON.stringify(value, null, 2);
+ const toObject = JSON.parse;
- if(process.browser) {
- if (localStorage.getItem(key) === null) {
- localStorage.setItem(key, toString(initial))
- }
+ if (process.browser) {
+ if (localStorage.getItem(key) === null) {
+ localStorage.setItem(key, toString(initial));
+ }
- const saved = toObject(localStorage.getItem(key));
+ const saved = toObject(localStorage.getItem(key));
- const { subscribe, set, update } = writable(saved);
+ const { subscribe, set, update } = writable(saved);
- return {
- subscribe,
- set: value => {
- // both return and save in the local storage
- localStorage.setItem(key, toString(value));
- return set(value)
- },
- update
- }
- }
-}
+ return {
+ subscribe,
+ set: (value) => {
+ // both return and save in the local storage
+ localStorage.setItem(key, toString(value));
+ return set(value);
+ },
+ update
+ };
+ }
+};
// export const todos = localStore('todo-store', []);
-console.log("here we are: " + typeof window);
-export const todos = writable([]);
\ No newline at end of file
+console.log('here we are: ' + typeof window);
+export const todos = writable([]);
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte
index 8f9f6a6..9447ccc 100644
--- a/src/routes/__layout.svelte
+++ b/src/routes/__layout.svelte
@@ -1,31 +1,30 @@
-
-
-
+
+
+
\ No newline at end of file
+ .site {
+ display: flex;
+ flex-direction: column;
+ }
+
diff --git a/src/routes/about.svelte b/src/routes/about.svelte
index e3e5683..6ad05c7 100644
--- a/src/routes/about.svelte
+++ b/src/routes/about.svelte
@@ -1,11 +1,11 @@
-
-
About this
-
This is a test website using sveltekit
+
+
About this
+
This is a test website using sveltekit
\ No newline at end of file
+ .panel {
+ margin: 1em;
+ padding: 1em;
+ }
+
diff --git a/src/routes/apps/todo.svelte b/src/routes/apps/todo.svelte
index 4ece915..b25ac38 100644
--- a/src/routes/apps/todo.svelte
+++ b/src/routes/apps/todo.svelte
@@ -1,5 +1,5 @@
-
\ No newline at end of file
+
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index dd478df..1550636 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -1,22 +1,20 @@
-
-
-
APPS
-
+
-
\ No newline at end of file
+ ul {
+ margin: 2em;
+ }
+ li {
+ list-style-type: circle;
+ }
+