From ef6c96f559b98e6735012f02acbe5d2d66bfb3e4 Mon Sep 17 00:00:00 2001 From: Amina Saeed Date: Fri, 11 Oct 2024 22:45:07 +0500 Subject: [PATCH 1/2] commit --- index.html | 7 +++++++ script.js | 5 +++-- style.css | 20 +++++++++++++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index df413bd..4044798 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,7 @@

Todo-List

+
@@ -20,6 +21,12 @@

Todo-List

+
+

© 2024 Made with ❤ by Ansh Grover. All rights reserved.

+
+ + + diff --git a/script.js b/script.js index 64d43e4..db45ad6 100644 --- a/script.js +++ b/script.js @@ -102,6 +102,7 @@ function updateTodo(index) { updateTodoList(); } -// Initialize the todo list on page load -updateTodoList(); + + + diff --git a/style.css b/style.css index 6bf70eb..5b4c59a 100644 --- a/style.css +++ b/style.css @@ -117,4 +117,22 @@ h1 { .js-delete-button img, .js-edit-button img { margin-right: 5px; -} \ No newline at end of file +} + +footer { + background-color: #fbd0a5; + color: #2a2929; + text-align: center; + padding: 20px 0; + position: fixed; + width: 100%; + bottom: 0; + font-size: 1rem; + } + + footer p { + margin: 0; + } + + + From b64dd36cb18eeadc31ef116446a899df3b3e49ba Mon Sep 17 00:00:00 2001 From: Amina Saeed Date: Fri, 11 Oct 2024 23:34:00 +0500 Subject: [PATCH 2/2] commit --- script.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/script.js b/script.js index db45ad6..27b40c1 100644 --- a/script.js +++ b/script.js @@ -102,7 +102,5 @@ function updateTodo(index) { updateTodoList(); } - - - - +// Initialize the todo list on page load +updateTodoList(); \ No newline at end of file