Todo
-
@@ -53,7 +53,7 @@
Completed
From 011c00679e9ef3e21d97ef366d4f19d8a09ebecc Mon Sep 17 00:00:00 2001 From: Ilia Konev <122528494+bearBenjamin@users.noreply.github.com> Date: Fri, 17 Oct 2025 10:56:33 +0300 Subject: [PATCH 01/19] refactor: add two spaces for one indentation to rule 1.1 in html-and-css.md and add formatting torule 2.1 in html-and-css.md in file index.html --- index.html | 70 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 55 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index ef4aa1f60c..a5dfba252c 100644 --- a/index.html +++ b/index.html @@ -1,19 +1,59 @@ -
+ Want more details?
+ + +
+
From 5e31d03db64ef85c10371db475b790038a77a842 Mon Sep 17 00:00:00 2001 From: Ilia Konev <122528494+bearBenjamin@users.noreply.github.com> Date: Fri, 17 Oct 2025 12:33:35 +0300 Subject: [PATCH 09/19] refactor:update type attribute to rule 2.4 in html-and-css.md in file index.html --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 062326c213..08eb639175 100644 --- a/index.html +++ b/index.html @@ -3,8 +3,8 @@
+
diff --git a/style.css b/style.css index ca1dd818e2..8cfbebe07b 100644 --- a/style.css +++ b/style.css @@ -13,7 +13,7 @@ body { .container-content img { width: 100%; } -.container-content .more-inf { +.container-content .more-information { font-family: "fantasy", cursive; } From 79da2a6f051c0a3b55a6c6f3d967853e83aaf1d2 Mon Sep 17 00:00:00 2001 From: Ilia Konev <122528494+bearBenjamin@users.noreply.github.com> Date: Fri, 17 Oct 2025 13:16:49 +0300 Subject: [PATCH 13/19] fix: updated names by tag selector to rule 3.4 in html-and-css.md in file style.css --- style.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/style.css b/style.css index 8cfbebe07b..83b7200625 100644 --- a/style.css +++ b/style.css @@ -88,7 +88,7 @@ label[for="new-task"] { display: block; margin: 0 0 20px; } -input#new-task { +#new-task { width: 318px; } @@ -118,17 +118,17 @@ li > label { li > input[type="text"] { width: 226px } -button.delete img { +.delete img { height: 2em; transform: rotateZ(45deg); transition: transform 200ms ease-in; } -button.delete img:hover { +.delete img:hover { transform: rotateZ(0); } /* Completed */ -ul#completed-tasks label { +#completed-tasks label { text-decoration: line-through color: #888; } @@ -138,11 +138,11 @@ ul li input[type="text"] { display:none } -ul li.edit-mode input[type="text"] { +ul .edit-mode input[type="text"] { display:inline-block; width:224px } -ul li.edit-mode label { +ul .edit-mode label { display:none; } From cb018a87fb271be54a56092dcb2cb043e72b5a9a Mon Sep 17 00:00:00 2001 From: Ilia Konev <122528494+bearBenjamin@users.noreply.github.com> Date: Fri, 17 Oct 2025 13:38:56 +0300 Subject: [PATCH 14/19] refactor: add indents in blocks to rule 3.5 in html-and-css.md in file style.css --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index 83b7200625..e558e8c7de 100644 --- a/style.css +++ b/style.css @@ -41,7 +41,7 @@ ul { li, h3 { list-style:none; } -input,button{ +input, button { outline:none; } button { From 7f0a547fbde1f56eb3335097d1eea2c86ae8aa20 Mon Sep 17 00:00:00 2001 From: Ilia Konev <122528494+bearBenjamin@users.noreply.github.com> Date: Fri, 17 Oct 2025 13:50:45 +0300 Subject: [PATCH 15/19] fix: add space after property name, add semicolon after properties to rules 3.6, 3.7 in html-and-css.md and add line break in css rules line 20 in file style.css --- style.css | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/style.css b/style.css index e558e8c7de..aed7d6febc 100644 --- a/style.css +++ b/style.css @@ -18,7 +18,8 @@ body { } @media (max-width:768px) { - .container-content { text-align: center; + .container-content { + text-align: center; } } .centered-main-page-element { @@ -29,20 +30,20 @@ body { .task { width: 56%; display: inline-block; - flex-grow: 1 + flex-grow: 1; } .task-row-wrapper { display: flex; } ul { - margin:0; + margin: 0; padding: 0px; } li, h3 { - list-style:none; + list-style: none; } input, button { - outline:none; + outline: none; } button { background: none; @@ -116,7 +117,7 @@ li > label { width: 226px; } li > input[type="text"] { - width: 226px + width: 226px; } .delete img { height: 2em; @@ -129,20 +130,20 @@ li > input[type="text"] { /* Completed */ #completed-tasks label { - text-decoration: line-through + text-decoration: line-through; color: #888; } /* Edit Task */ ul li input[type="text"] { - display:none + display: none; } ul .edit-mode input[type="text"] { - display:inline-block; - width:224px + display: inline-block; + width: 224px; } ul .edit-mode label { - display:none; + display: none; } From 32e8cc38667d07be86af93ebc133fe98a24161b4 Mon Sep 17 00:00:00 2001 From: Ilia Konev <122528494+bearBenjamin@users.noreply.github.com> Date: Fri, 17 Oct 2025 14:08:59 +0300 Subject: [PATCH 16/19] refactor: separated the selectors with a line break to rule 3.8 in html-and-css.md in file style.css --- style.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index aed7d6febc..0c1c18e086 100644 --- a/style.css +++ b/style.css @@ -39,10 +39,12 @@ ul { margin: 0; padding: 0px; } -li, h3 { +li, +h3 { list-style: none; } -input, button { +input, +button { outline: none; } button { From 821cceee8befc7ac511228128d0d30bed2333a24 Mon Sep 17 00:00:00 2001 From: Ilia Konev <122528494+bearBenjamin@users.noreply.github.com> Date: Fri, 17 Oct 2025 14:11:52 +0300 Subject: [PATCH 17/19] refactor: separated the CSSrules with one space line in file style.css --- style.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/style.css b/style.css index 0c1c18e086..1110f0f686 100644 --- a/style.css +++ b/style.css @@ -4,15 +4,18 @@ body { color: #333; font-family: "Lato", sans-serif; } + .container-content { width: 500px; margin: 0 auto; display: block; text-align: right; } + .container-content img { width: 100%; } + .container-content .more-information { font-family: "fantasy", cursive; } @@ -22,31 +25,38 @@ body { text-align: center; } } + .centered-main-page-element { display: block; width: 500px; margin: 0 auto 0; } + .task { width: 56%; display: inline-block; flex-grow: 1; } + .task-row-wrapper { display: flex; } + ul { margin: 0; padding: 0px; } + li, h3 { list-style: none; } + input, button { outline: none; } + button { background: none; border: 0px; @@ -56,9 +66,11 @@ button { font-family: "Lato", sans-serif; cursor: pointer; } + button:hover { color: #3a3a3a; } + /* Heading */ h3, label[for="new-task"] { @@ -70,6 +82,7 @@ label[for="new-task"] { margin: 0; text-transform: uppercase; } + input[type="text"] { margin: 0; font-size: 18px; @@ -82,6 +95,7 @@ input[type="text"] { font-family: "Lato", sans-serif; color: #888; } + input[type="text"]:focus { color: #333; } @@ -91,6 +105,7 @@ label[for="new-task"] { display: block; margin: 0 0 20px; } + #new-task { width: 318px; } @@ -105,6 +120,7 @@ li { justify-content: space-between; align-items: center; } + li > * { vertical-align: middle; } @@ -112,20 +128,24 @@ li > * { li > input[type="checkbox"] { margin: 0 10px; } + li > label { padding-left: 10px; box-sizing: border-box; font-size: 18px; width: 226px; } + li > input[type="text"] { width: 226px; } + .delete img { height: 2em; transform: rotateZ(45deg); transition: transform 200ms ease-in; } + .delete img:hover { transform: rotateZ(0); } From ce4682fbc65257c9e015606385238f3f0e3472e6 Mon Sep 17 00:00:00 2001 From: Ilia Konev <122528494+bearBenjamin@users.noreply.github.com> Date: Fri, 17 Oct 2025 22:24:55 +0300 Subject: [PATCH 18/19] refactor: update name tag to rule 1.1 in html-and-css-extended.md --- index.html | 16 ++++++++-------- style.css | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 84c1d4dca8..7c2825ee84 100644 --- a/index.html +++ b/index.html @@ -4,22 +4,22 @@
+
+ Todo
- Completed
+
Want more details?