Haushaltsbuch
-
+
+
+
Einträge
Website: www.mustermann.de - - -
Bei redaktionellen Inhalten:
diff --git a/TodoListe/index.html b/TodoListe/index.html
new file mode 100644
index 0000000..ff7bf6b
--- /dev/null
+++ b/TodoListe/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TodoListe/media/fonts/FiraSans-Regular.ttf b/TodoListe/media/fonts/FiraSans-Regular.ttf
new file mode 100644
index 0000000..6f80647
Binary files /dev/null and b/TodoListe/media/fonts/FiraSans-Regular.ttf differ
diff --git a/TodoListe/media/img/checked.png b/TodoListe/media/img/checked.png
new file mode 100644
index 0000000..d26596a
Binary files /dev/null and b/TodoListe/media/img/checked.png differ
diff --git a/TodoListe/media/img/icon.png b/TodoListe/media/img/icon.png
new file mode 100644
index 0000000..5655235
Binary files /dev/null and b/TodoListe/media/img/icon.png differ
diff --git a/TodoListe/media/img/unchecked.png b/TodoListe/media/img/unchecked.png
new file mode 100644
index 0000000..04a5c5f
Binary files /dev/null and b/TodoListe/media/img/unchecked.png differ
diff --git a/TodoListe/script.js b/TodoListe/script.js
new file mode 100644
index 0000000..4aa5453
--- /dev/null
+++ b/TodoListe/script.js
@@ -0,0 +1,22 @@
+const inputBox = document.querySelector("#input-box");
+const todoListContainer = document.querySelector("#todo-list-container");
+function neueAufgabe(){
+ inputBox.focus();
+
+ if (inputBox.value === '') {
+ return;
+ }
+
+ let newListItem = document.createElement('li');
+ newListItem.textContent = inputBox.value;
+ todoListContainer.appendChild(newListItem);
+ saveData();
+ inputBox.value = '';
+}
+
+function saveData()
+{
+ localStorage.setItem('data', todoListContainer.innerHTML);
+}
+
+todoListContainer.innerHTML = localStorage.getItem('data') || '';
\ No newline at end of file
diff --git a/TodoListe/style.css b/TodoListe/style.css
new file mode 100644
index 0000000..c81e3c0
--- /dev/null
+++ b/TodoListe/style.css
@@ -0,0 +1,60 @@
+@font-face {
+ font-family: 'Fira-Sans';
+ src: url("./media/fonts/FiraSans-Regular.ttf") format("truetype");
+}
+
+html {
+ font-size: 20px;
+ box-sizing: border-box;
+}
+
+* {
+ font-family: 'Fira-Sans', sans-serif;
+}
+
+.container {
+ margin: auto;
+ border-radius: 1em;
+ corner-shape: squircle bevel;
+ width: clamp(400px, 60vw, 800px);
+}
+
+
+.aufgaben-app {
+ margin: 10px;
+ padding: 10px;
+ border-radius: 1em;
+ corner-shape: squircle bevel;
+ background-color: ivory;
+}
+
+.aufgaben-app h2 {
+ font-size: 2rem;
+}
+
+.aufgaben-app h2 img {
+ max-height: 1em;
+}
+
+.input-container {
+ display: flex;
+ flex-wrap: nowrap;
+ gap: 1em;
+}
+
+.input-container #input-box {
+ flex-grow: 1;
+}
+
+.input-container button {
+ cursor: pointer;
+ background-color: lightskyblue;
+ border-radius: 100%;
+ corner-shape: squircle;
+}
+
+
+.schatten-farbverlauf {
+ background: linear-gradient(45deg, red, orange, yellow, green, blue, violet, pink);
+ padding: 3px;
+}
\ No newline at end of file
+
+
+
Aufgabenliste
+
+
+
+
+