From 511cff1cc8141cfa9ef201090466fff512f7f024 Mon Sep 17 00:00:00 2001 From: Krzysztof Janiewicz Date: Wed, 26 Apr 2023 23:13:43 +0200 Subject: [PATCH 1/4] add task solution --- readme.md | 4 +- src/index.html | 183 ++++++++++++++++++++++++++++++++++++++++++++++++- src/style.css | 12 ++++ 3 files changed, 195 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index ed4805f1..d790f718 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # HTML form Replace `` with your Github username and copy the links to Pull Request description: -- [DEMO LINK](https://.github.io/layout_html-form/) -- [TEST REPORT LINK](https://.github.io/layout_html-form/report/html_report/) +- [DEMO LINK](https://spojrzenie.github.io/layout_html-form/) +- [TEST REPORT LINK](https://spojrzenie.github.io/layout_html-form/report/html_report/) > Follow [this instructions](https://mate-academy.github.io/layout_task-guideline/#how-to-solve-the-layout-tasks-on-github) ___ diff --git a/src/index.html b/src/index.html index 3348db1c..bd10b31f 100644 --- a/src/index.html +++ b/src/index.html @@ -7,11 +7,190 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" > - HTML Form + My first proffesionak HTML site with form -

HTML Form

+ +
+ +
+ Personal information + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+ Registration + +
+ + +
+ +
+ + +
+
+ +
+ An interesting fact about you! + +
+ Do you love cats? + + + + + + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ +
+ Additional info: +
+ + +
+ +
+ + +
+
+ +
+ +
+ +
diff --git a/src/style.css b/src/style.css index c4301db2..3f70ae64 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,13 @@ /* styles go here */ +.form-field { + margin-bottom: 10px; +} + +fieldset { + margin-bottom: 20px; +} + +/* Usuń margines dolny dla ostatniego .form-field wewnątrz fieldset */ +fieldset .form-field:last-child { + margin-bottom: 0; +} From 013369118cd1713484c14d2a17f96401573cfe16 Mon Sep 17 00:00:00 2001 From: Krzysztof Janiewicz Date: Thu, 27 Apr 2023 00:01:49 +0200 Subject: [PATCH 2/4] Change title and add h1 paragraph --- src/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index bd10b31f..708d7a83 100644 --- a/src/index.html +++ b/src/index.html @@ -7,10 +7,11 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" > - My first proffesionak HTML site with form + HTML form +

HTML Form

Date: Thu, 27 Apr 2023 00:07:11 +0200 Subject: [PATCH 3/4] Change site title --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 708d7a83..675b4810 100644 --- a/src/index.html +++ b/src/index.html @@ -7,7 +7,7 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" > - HTML form + HTML Form From f0418c0266d70f7924d6554f14960bace5cbed10 Mon Sep 17 00:00:00 2001 From: Krzysztof Janiewicz Date: Thu, 27 Apr 2023 21:18:11 +0200 Subject: [PATCH 4/4] Fix errors like missing colon, etc --- src/index.html | 37 ++++++++++++++++++++----------------- src/style.css | 3 +-- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/index.html b/src/index.html index 675b4810..475e4ac5 100644 --- a/src/index.html +++ b/src/index.html @@ -11,18 +11,17 @@ -

HTML Form

-
+
Personal information
- + HTML Form
- + HTML Form
- + HTML Form
-
+
Registration
- + HTML Form
- +
-
+
An interesting fact about you!
@@ -129,7 +130,7 @@

HTML Form

@@ -138,20 +139,22 @@

HTML Form

@@ -167,15 +170,15 @@

HTML Form

-
+
Additional info:
diff --git a/src/style.css b/src/style.css index 3f70ae64..f8a4dcad 100644 --- a/src/style.css +++ b/src/style.css @@ -3,11 +3,10 @@ margin-bottom: 10px; } -fieldset { +.form-fieldset { margin-bottom: 20px; } -/* Usuń margines dolny dla ostatniego .form-field wewnątrz fieldset */ fieldset .form-field:last-child { margin-bottom: 0; }