From dce3d6e49e77f5a7c5e791afedb684f1304e364c Mon Sep 17 00:00:00 2001 From: Ann Busyhina <070196ann@gmail.com> Date: Wed, 26 Apr 2023 23:40:11 +0300 Subject: [PATCH 1/2] add forms --- readme.md | 6 +- src/index.html | 169 ++++++++++++++++++++++++++++++++++++++++++++++++- src/style.css | 12 +++- 3 files changed, 182 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index ed4805f1..57eb8111 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://AnnBusya.github.io/layout_html-form/) +- [TEST REPORT LINK](https://AnnBusya.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) ___ @@ -40,7 +40,7 @@ Create HTML page with form. On form submit send form data to `https://mate-acade - Age should be at least `1` and at max `100` with a default value of `12` - The email field should have placeholder value: `email@example.com`. - Text fields should have `autocomplete="off"`. -- `Submit` button should have a `type="submit"` +- `Submit` button should have a `type="submit"` - Vertical distance between inputs should be `10px` - Vertical distance between groups should be `20px` - Any other styles should be browser default diff --git a/src/index.html b/src/index.html index 3348db1c..69b11d82 100644 --- a/src/index.html +++ b/src/index.html @@ -11,7 +11,174 @@ -

HTML Form

+ +
+
+ Personal information + + + + + + + + + + + +
+ +
+ Registration + + + + + +
+ +
+ An interesting fact about you! + + + + + + + +
+ + +
+ + +
+ +
+ Additional info: + + + +
+ + +
+ +
+ + + +
+ diff --git a/src/style.css b/src/style.css index c4301db2..e74383a4 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,11 @@ -/* styles go here */ +.form-field { + display: block; +} + +.distance { + margin-bottom: 10px; +} + +.rows { + margin-bottom: 20px; +} From fc3fca07a6d658eee9f3224b4b4738b8a6227fe1 Mon Sep 17 00:00:00 2001 From: Ann Busyhina <070196ann@gmail.com> Date: Thu, 27 Apr 2023 11:18:23 +0300 Subject: [PATCH 2/2] fixed label-radio and add name-textarea --- src/index.html | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/src/index.html b/src/index.html index 69b11d82..f869b944 100644 --- a/src/index.html +++ b/src/index.html @@ -94,21 +94,23 @@
An interesting fact about you! -