From 18ca14bf3f22ae031e9a27f982e755658120247c Mon Sep 17 00:00:00 2001 From: Maciej Kujawa Date: Fri, 30 Jun 2023 19:42:56 +0200 Subject: [PATCH] add task solution --- readme.md | 6 +- src/index.html | 166 ++++++++++++++++++++++++++++++++++++++++++++++++- src/style.css | 8 ++- 3 files changed, 174 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index ed4805f1..f3267da2 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:// 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..0919e32f 100644 --- a/src/index.html +++ b/src/index.html @@ -1,4 +1,4 @@ - + @@ -11,7 +11,169 @@ -

HTML Form

+
+
+ Personal information +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+ Registration +
+ +
+ +
+ +
+
+
+ An interesting fact about you! +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+ Additional info: +
+ +
+ +
+ +
+
+
+ diff --git a/src/style.css b/src/style.css index c4301db2..ce7a54ff 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,7 @@ -/* styles go here */ +.fieldset { + margin-bottom: 20px; +} + +.fieldset .form:not(:last-child) { + margin-bottom: 10px; +}